-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(behavior_velocity_planner): add rtc interface to behavior velocity planner #963
feat(behavior_velocity_planner): add rtc interface to behavior velocity planner #963
Conversation
Codecov Report
@@ Coverage Diff @@
## main #963 +/- ##
========================================
- Coverage 9.00% 8.87% -0.13%
========================================
Files 1020 1020
Lines 63771 64854 +1083
Branches 13985 14572 +587
========================================
+ Hits 5742 5759 +17
- Misses 53111 54069 +958
- Partials 4918 5026 +108
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
5f19c47
to
c0e3e6b
Compare
planning/behavior_velocity_planner/include/scene_module/scene_module_interface.hpp
Outdated
Show resolved
Hide resolved
planning/behavior_velocity_planner/include/scene_module/scene_module_interface.hpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
…walk Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
1571a72
to
ef7d71d
Compare
…ty planner (tier4#963) * feature(behavior_velocity_planner): apply rtc interface Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add distance calculation to crosswalk Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix debug data update Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): apply to intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop condition Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop wall publishing Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix insert_stop Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix state transition in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to traffic_light Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix distance calculation and safety Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add stamp Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): move some function to protected Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix intersection module Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc_interface to blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to detection area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to no stopping area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix debug in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): cosmetic change Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * ci(pre-commit): autofix * fix(behavior_velocity_planner): fix debug of blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): define interface class and use it Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): small fix for diff Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): remove unnecessary function Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix conflicts Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…ty planner (tier4#963) * feature(behavior_velocity_planner): apply rtc interface Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add distance calculation to crosswalk Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix debug data update Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): apply to intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop condition Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop wall publishing Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix insert_stop Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix state transition in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to traffic_light Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix distance calculation and safety Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add stamp Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): move some function to protected Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix intersection module Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc_interface to blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to detection area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to no stopping area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix debug in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): cosmetic change Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * ci(pre-commit): autofix * fix(behavior_velocity_planner): fix debug of blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): define interface class and use it Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): small fix for diff Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): remove unnecessary function Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix conflicts Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…ty planner (tier4#963) * feature(behavior_velocity_planner): apply rtc interface Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add distance calculation to crosswalk Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix debug data update Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): apply to intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop condition Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop wall publishing Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix insert_stop Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix state transition in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to traffic_light Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix distance calculation and safety Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add stamp Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): move some function to protected Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix intersection module Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc_interface to blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to detection area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to no stopping area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix debug in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): cosmetic change Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * ci(pre-commit): autofix * fix(behavior_velocity_planner): fix debug of blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): define interface class and use it Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): small fix for diff Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): remove unnecessary function Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix conflicts Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…ty planner (tier4#963) * feature(behavior_velocity_planner): apply rtc interface Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add distance calculation to crosswalk Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix debug data update Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): apply to intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop condition Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop wall publishing Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix insert_stop Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix state transition in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to traffic_light Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix distance calculation and safety Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add stamp Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): move some function to protected Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix intersection module Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc_interface to blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to detection area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to no stopping area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix debug in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): cosmetic change Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * ci(pre-commit): autofix * fix(behavior_velocity_planner): fix debug of blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): define interface class and use it Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): small fix for diff Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): remove unnecessary function Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix conflicts Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…ty planner (tier4#963) * feature(behavior_velocity_planner): apply rtc interface Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add distance calculation to crosswalk Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix debug data update Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): apply to intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop condition Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix stop wall publishing Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix insert_stop Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix state transition in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to traffic_light Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): fix distance calculation and safety Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add stamp Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): move some function to protected Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix intersection module Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc_interface to blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to detection area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): add rtc to no stopping area Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix debug in intersection Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): cosmetic change Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * ci(pre-commit): autofix * fix(behavior_velocity_planner): fix debug of blind_spot Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * feature(behavior_velocity_planner): define interface class and use it Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): small fix for diff Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * chore(behavior_velocity_planner): remove unnecessary function Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> * fix(behavior_velocity_planner): fix conflicts Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…on#963) * feat(intersection): move pass judge line backward Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * disable pass judge sudden stop Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * update config Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> * fix Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> --------- Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Description
Apply RTC interface to behavior velocity planner.
In the scene modules, I changed the stop condition to check activation command from external.
If the command is
DEACTIVATE
, it sets the stop point. Otherwise, it does not set the stop point (go through).Furthermore, send distance to the stop point to give the information for operating.
In this PR, RTC interface are not introduced in the following modules.
Related links
#891
Tests performed
Test performed in the real vehicle
Test performed in planning simulator ( with #964 )
blind_spot-2022-05-27_23.16.38.mp4
detection_area-2022-05-27_23.31.22.mp4
no_stopping_area-2022-05-27_23.21.16.mp4
Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.