-
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(map_based_prediction): prediction with acc constraints #5960
feat(map_based_prediction): prediction with acc constraints #5960
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5960 +/- ##
==========================================
- Coverage 15.25% 15.24% -0.02%
==========================================
Files 1750 1750
Lines 120562 120642 +80
Branches 36735 36735
==========================================
Hits 18390 18390
- Misses 81543 81623 +80
Partials 20629 20629
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
18f2cc8
to
1f8d535
Compare
@@ -66,7 +66,7 @@ Lane change logics is illustrated in the figure below.An example of how to tune | |||
|
|||
### Tuning lane change detection logic | |||
|
|||
Currently we provide two parameters to tune lane change detection: | |||
Currently we provide three parameters to tune lane change detection: |
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.
❤️
perception/map_based_prediction/src/map_based_prediction_node.cpp
Outdated
Show resolved
Hide resolved
perception/map_based_prediction/include/map_based_prediction/map_based_prediction_node.hpp
Outdated
Show resolved
Hide resolved
perception/map_based_prediction/include/map_based_prediction/map_based_prediction_node.hpp
Outdated
Show resolved
Hide resolved
perception/map_based_prediction/include/map_based_prediction/map_based_prediction_node.hpp
Show resolved
Hide resolved
Signed-off-by: Daniel Sanchez <[email protected]>
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!
a04f825
into
autowarefoundation:main
…foundation#5960) * WIP add acc constraints to discard paths Signed-off-by: Daniel Sanchez <[email protected]> * Add lat acc constraints to predicted paths Signed-off-by: Daniel Sanchez <[email protected]> * Delete debug print Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * WIP Signed-off-by: Daniel Sanchez <[email protected]> * make lat acc calculation with yaw rate Signed-off-by: Daniel Sanchez <[email protected]> * eliminate debug prints Signed-off-by: Daniel Sanchez <[email protected]> * delete unused variable Signed-off-by: Daniel Sanchez <[email protected]> * refactor rename function Signed-off-by: Daniel Sanchez <[email protected]> * keep a copy of the straightest path in case all paths are cleared Signed-off-by: Daniel Sanchez <[email protected]> * refactor and add constraints check parameter Signed-off-by: Daniel Sanchez <[email protected]> * update documentation Signed-off-by: Daniel Sanchez <[email protected]> * add braces for readability (style guide) Signed-off-by: Daniel Sanchez <[email protected]> * fix review issues Signed-off-by: Daniel Sanchez <[email protected]> --------- Signed-off-by: Daniel Sanchez <[email protected]> Signed-off-by: Daniel Sanchez <[email protected]>
…foundation#5960) * WIP add acc constraints to discard paths Signed-off-by: Daniel Sanchez <[email protected]> * Add lat acc constraints to predicted paths Signed-off-by: Daniel Sanchez <[email protected]> * Delete debug print Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * WIP Signed-off-by: Daniel Sanchez <[email protected]> * make lat acc calculation with yaw rate Signed-off-by: Daniel Sanchez <[email protected]> * eliminate debug prints Signed-off-by: Daniel Sanchez <[email protected]> * delete unused variable Signed-off-by: Daniel Sanchez <[email protected]> * refactor rename function Signed-off-by: Daniel Sanchez <[email protected]> * keep a copy of the straightest path in case all paths are cleared Signed-off-by: Daniel Sanchez <[email protected]> * refactor and add constraints check parameter Signed-off-by: Daniel Sanchez <[email protected]> * update documentation Signed-off-by: Daniel Sanchez <[email protected]> * add braces for readability (style guide) Signed-off-by: Daniel Sanchez <[email protected]> * fix review issues Signed-off-by: Daniel Sanchez <[email protected]> --------- Signed-off-by: Daniel Sanchez <[email protected]> Signed-off-by: Daniel Sanchez <[email protected]>
…foundation#5960) * WIP add acc constraints to discard paths Signed-off-by: Daniel Sanchez <[email protected]> * Add lat acc constraints to predicted paths Signed-off-by: Daniel Sanchez <[email protected]> * Delete debug print Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * WIP Signed-off-by: Daniel Sanchez <[email protected]> * make lat acc calculation with yaw rate Signed-off-by: Daniel Sanchez <[email protected]> * eliminate debug prints Signed-off-by: Daniel Sanchez <[email protected]> * delete unused variable Signed-off-by: Daniel Sanchez <[email protected]> * refactor rename function Signed-off-by: Daniel Sanchez <[email protected]> * keep a copy of the straightest path in case all paths are cleared Signed-off-by: Daniel Sanchez <[email protected]> * refactor and add constraints check parameter Signed-off-by: Daniel Sanchez <[email protected]> * update documentation Signed-off-by: Daniel Sanchez <[email protected]> * add braces for readability (style guide) Signed-off-by: Daniel Sanchez <[email protected]> * fix review issues Signed-off-by: Daniel Sanchez <[email protected]> --------- Signed-off-by: Daniel Sanchez <[email protected]> Signed-off-by: Daniel Sanchez <[email protected]>
…foundation#5960) * WIP add acc constraints to discard paths Signed-off-by: Daniel Sanchez <[email protected]> * Add lat acc constraints to predicted paths Signed-off-by: Daniel Sanchez <[email protected]> * Delete debug print Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * delete unused var Signed-off-by: Daniel Sanchez <[email protected]> * WIP Signed-off-by: Daniel Sanchez <[email protected]> * make lat acc calculation with yaw rate Signed-off-by: Daniel Sanchez <[email protected]> * eliminate debug prints Signed-off-by: Daniel Sanchez <[email protected]> * delete unused variable Signed-off-by: Daniel Sanchez <[email protected]> * refactor rename function Signed-off-by: Daniel Sanchez <[email protected]> * keep a copy of the straightest path in case all paths are cleared Signed-off-by: Daniel Sanchez <[email protected]> * refactor and add constraints check parameter Signed-off-by: Daniel Sanchez <[email protected]> * update documentation Signed-off-by: Daniel Sanchez <[email protected]> * add braces for readability (style guide) Signed-off-by: Daniel Sanchez <[email protected]> * fix review issues Signed-off-by: Daniel Sanchez <[email protected]> --------- Signed-off-by: Daniel Sanchez <[email protected]> Signed-off-by: Daniel Sanchez <[email protected]>
Description
Implement a lateral acceleration-based pruning mechanism to eliminate unfeasible vehicle paths. See link for more details: TIER IV INTERNAL LINK
Also, added the possibility of updating parameters in real time (only used for the parameters added by this PR).
Related links
TIER IV INTERNAL LINK
Tests performed
PSim with different vehicle speeds and Evaluator tests (I did not find degradation caused by this PR.
): TIER IV INTERNAL LINK
Example video:
The paths to turn right or left dissappear then the vehicle is close t\because it cannot realistically slow down on time to turn.
cap-.2023-12-26-10-36-47.mp4
Notes for reviewers
Requires these changes to launch: autowarefoundation/autoware_launch#759
Interface changes
Effects on system behavior
Eliminates predicted paths (for vehicles) that are unfeasible because they would generate large lateral accelerations
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.