-
Notifications
You must be signed in to change notification settings - Fork 682
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
fix(behavior_path_planner): fix turn singal output in a avoidance sequence #1511
fix(behavior_path_planner): fix turn singal output in a avoidance sequence #1511
Conversation
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Codecov Report
@@ Coverage Diff @@
## main #1511 +/- ##
==========================================
- Coverage 10.38% 10.32% -0.07%
==========================================
Files 1136 1136
Lines 79465 79895 +430
Branches 18483 18772 +289
==========================================
- Hits 8250 8246 -4
- Misses 63013 63430 +417
- Partials 8202 8219 +17
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
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.
…uence (#1511) * remove search distance for turn signal Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * set distance to max when a lane_attriute is straight Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…uence (tier4#1511) * remove search distance for turn signal Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * set distance to max when a lane_attriute is straight Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…uence (tier4#1511) * remove search distance for turn signal Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * set distance to max when a lane_attriute is straight Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…uence (tier4#1511) * remove search distance for turn signal Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * set distance to max when a lane_attriute is straight Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…uence (autowarefoundation#1511) * remove search distance for turn signal Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * set distance to max when a lane_attriute is straight Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…uence (tier4#1511) * remove search distance for turn signal Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * set distance to max when a lane_attriute is straight Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* implement service for clear MRM behavior * clang format
…utowarefoundation#1654) * feat(mrm_handler): mrm recoverable option (autowarefoundation#1316) * implement is_mrm_recoverable option of mrm_handler * add pull over after stopped option * update json schema of mrm_handler Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> * feat: implement service for clear MRM behavior (autowarefoundation#1511) * implement service for clear MRM behavior * clang format Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> * feat: implement MRM automatic recovery feature Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> * fix typo Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> --------- Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> Co-authored-by: Shohei Sakai <saka1s.jp@gmail.com>
Description
Fix bug of the turn signal output in a avoidance sequence in behavior_path_planner.
With the current implementation, the turn signal turned on only when the shift point of the avoidance was within
search_distance
(default: 30m). But it is unnecessary because the timing of the turn signal is already contolled properly by the parametersturn_light_on_threshold_time
andturn_light_on_threshold_dis_long
. So, I deletedsearch_distance
parameter.There are the cases that the turn signal did not turn on in a avoidance sequence by overwriting the intersection with the
straight
lane-attribute. So, when a lane attribute is straight, setdistance
field to std::numeric_limits::max() in getIntersectionTurnSignal().Related links
Tests performed
I confirmd that there is no problem with the output of the turn signal during avoidance.
Before:
https://user-images.githubusercontent.com/59680180/182604787-83d91ed6-52e9-4012-9752-fb203fed3bcc.mp4
After:
https://user-images.githubusercontent.com/59680180/182604818-fa9982b7-5744-4a94-af85-917dc9878c2e.mp4
The turn signal output in lane_change sequence seems to be also OK.
2022-08-03-21-11-25.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.