-
Notifications
You must be signed in to change notification settings - Fork 683
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_path_planner): safety check against dynamic objects after approval in manual mode #4927
feat(behavior_path_planner): safety check against dynamic objects after approval in manual mode #4927
Conversation
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #4927 +/- ##
==========================================
+ Coverage 15.80% 15.94% +0.13%
==========================================
Files 1580 1580
Lines 109179 108994 -185
Branches 33646 33611 -35
==========================================
+ Hits 17258 17376 +118
+ Misses 73313 73023 -290
+ Partials 18608 18595 -13
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
Outdated
Show resolved
Hide resolved
...path_planner/include/behavior_path_planner/scene_module/goal_planner/goal_planner_module.hpp
Outdated
Show resolved
Hide resolved
* | ||
* @param output BehaviorModuleOutput | ||
*/ | ||
void setStopPathInCurrentPath(BehaviorModuleOutput & output); |
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.
not In
?
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.
and this function does not change the current path.
just change output and status_.prev_stop_path_after_approval.
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.
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.
sorry, talked about the function name setStopPathInCurrentPath
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.
From?
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.
changed in c288508
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
0560fd2
to
22e940b
Compare
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
22e940b
to
938ac79
Compare
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
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!
#4927 (review) |
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…er approval in manual mode (autowarefoundation#4927) * add feature of stop after approval for goal_planner Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * insert stop point after approval Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> --------- Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…er approval in manual mode (autowarefoundation#4927) * add feature of stop after approval for goal_planner Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * insert stop point after approval Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> --------- Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…er approval in manual mode (autowarefoundation#4927) * add feature of stop after approval for goal_planner Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * insert stop point after approval Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> --------- Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Description
In goal_planner module,
After approval from request cooperate commnad is sent, it was not possible to check safety against dynamic objects.
Flow is below
![image](https://private-user-images.githubusercontent.com/32741405/266773384-d3c31f7c-af7d-48f9-ab78-b39750b4d8e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDc5MzMsIm5iZiI6MTczOTM0NzYzMywicGF0aCI6Ii8zMjc0MTQwNS8yNjY3NzMzODQtZDNjMzFmN2MtYWY3ZC00OGY5LWFiNzgtYjM5NzUwYjRkOGUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4MDcxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgxZWJkNDVmNDliNDI4MDIzMWJhN2I1YmY4ZDJhNDk2ZDRjODdlZjBjOWNmNDYzMzYzYzhlOGQyMGIwYjczNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2cpTPwkTYs_pufsdLIdSaPcdNh9feOStO1FpKRQr220)
I added a feature to safety check after approval and if feasible stop can be achieved, vehicle will stop as shown below.
Screencast.from.2023.09.08.15.24.23.webm
Tests performed
Interface changes
None
Effects on system behavior
WIP
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.