-
Notifications
You must be signed in to change notification settings - Fork 675
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(predicted_path_checker): check predicted trajectory to avoid collisions planning can not handle #2528
feat(predicted_path_checker): check predicted trajectory to avoid collisions planning can not handle #2528
Conversation
8e18249
to
172a14d
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2528 +/- ##
==========================================
- Coverage 14.87% 14.79% -0.09%
==========================================
Files 1629 1635 +6
Lines 112780 113452 +672
Branches 34900 34900
==========================================
Hits 16780 16780
- Misses 77158 77830 +672
Partials 18842 18842
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
493dfe7
to
ee5e59a
Compare
689a478
to
6c5cb9b
Compare
We had another call to discuss this. In conclusion:
|
Hello, sorry for the delay. I designed node with using point cloud for collision checking. However I needed to make some changes in design. Currently, I changed design for using predicted objects, this week I will update the PR for this. |
…llisions planning can not handle (autowarefoundation#2528) Signed-off-by: Berkay Karaman <brkay54@gmail.com>
6c5cb9b
to
a8b42b1
Compare
e2afff0
to
66e6f80
Compare
…llisions planning can not handle (autowarefoundation#2528) Signed-off-by: Berkay Karaman <brkay54@gmail.com>
7b4f84d
to
641ee8f
Compare
…llisions planning can not handle (autowarefoundation#2528) Signed-off-by: Berkay Karaman <brkay54@gmail.com>
551d968
to
e5f24f6
Compare
…llisions planning can not handle (autowarefoundation#2528) Signed-off-by: Berkay Karaman <brkay54@gmail.com>
102b97f
to
88c5f81
Compare
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!
This pull request has been automatically marked as stale because it has not had recent activity. |
@brkay54 I added a label of run-build-and-test-differential to run CI. |
@brkay54 Can we merge this PR? |
…llisions planning can not handle (autowarefoundation#2528) Signed-off-by: Berkay Karaman <brkay54@gmail.com>
88c5f81
to
618323b
Compare
@TakaHoribe Sorry for the late response, I am planning to work on this, Just i need to fix a small bug. After that, I am gonna merge it in this week. |
…llisions planning can not handle (autowarefoundation#2528) Signed-off-by: Berkay Karaman <brkay54@gmail.com>
1ee87a3
to
37c6cd5
Compare
So sorry for the delay. @mehmetdogru If it is okay for you, can we merge it? |
…llisions planning can not handle (autowarefoundation#2528) Signed-off-by: Berkay Karaman <brkay54@gmail.com>
Signed-off-by: Berkay Karaman <brkay54@gmail.com>
37c6cd5
to
1f2f0aa
Compare
Sorry for the long time for this PR. Thank you for your review @TakaHoribe I am merging this package. Also, if you have time, would you help me merge the launch file in autowarefoundation/autoware_launch#385 ? FYI @mehmetdogru |
@@ -372,6 +403,7 @@ def add_launch_arg(name: str, default_value=None, description=None): | |||
add_launch_arg("obstacle_collision_checker_param_path") | |||
add_launch_arg("external_cmd_selector_param_path") | |||
add_launch_arg("aeb_param_path") | |||
add_launch_arg("predicted_path_checker_param_path") |
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.
Probably should also add enable_predicted_path_checker
as a launch arg here.
Description
Discussion: autowarefoundation/autoware#2859
Issue: #2252
In current implementation of Autoware, control module is not responsible for collision checking, except
obstacle_collision_checker package (It can stop the vehicle just for emergency situations.). Planning module is making
stop planning and collision checking using the reference trajectory.
However, vehicles actual path would be apart from reference trajectory in some cases such as starting driving with high
lateral error and at sharp turns.
In this scenarios, planning may not handle the collision in some part of the path because it does collision checking just
on reference trajectory. I think this is a critical safety issue, because vehicle will be open to collision in some cases.
Because vehicle’s actual path is strictly depend on the controller, we decided to add new package (predicted_path_checker) to check obstacle collision on predicted path and stop the vehicle if the collision was not handled by the planning module.
This node will make the vehicle stop if the current situation is emergency (if there is an obstacle in brake distance.) or collision can not be handled by planning module.
Flow Chart:
Before this PR merged, following PRs should be merged before:
#3437
#3435
tier4/tier4_autoware_msgs#82
Proposed Solutions:
Please feel free to share your ideas on discussion.
Related links
Tests performed
Checked the vehicle state if there is an obstacle in front of the vehicle by using
planning_simulator
. It worked as I wanted.Notes for reviewers
While testing the package, you should also checkout these PRs:
#3790
autowarefoundation/autoware_launch#367
tier4/tier4_autoware_msgs#88
To test the package, it is enough to run the launch file inside of the package.
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.