-
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(planning_evaluator): add evaluation feature of trajectory lateral displacement #9718
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
...or/autoware_planning_evaluator/include/autoware/planning_evaluator/metrics/metrics_utils.hpp
Outdated
Show resolved
Hide resolved
evaluator/autoware_planning_evaluator/src/metrics_calculator.cpp
Outdated
Show resolved
Hide resolved
evaluator/autoware_planning_evaluator/src/metrics/stability_metrics.cpp
Outdated
Show resolved
Hide resolved
…l displacement Signed-off-by: Kyoichi Sugahara <[email protected]>
2f429fa
to
2aa69b4
Compare
Signed-off-by: Kyoichi Sugahara <[email protected]>
…and remove deprecated method Signed-off-by: Kyoichi Sugahara <[email protected]>
…ng lookahead trajectory Signed-off-by: Kyoichi Sugahara <[email protected]>
…ajectory_lateral_displacement for consistency Signed-off-by: Kyoichi Sugahara <[email protected]>
…le consistency Signed-off-by: Kyoichi Sugahara <[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~
…e and time from ego pose Signed-off-by: Kyoichi Sugahara <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9718 +/- ##
=======================================
Coverage 29.75% 29.76%
=======================================
Files 1444 1445 +1
Lines 108689 108737 +48
Branches 42663 42677 +14
=======================================
+ Hits 32336 32361 +25
- Misses 73171 73192 +21
- Partials 3182 3184 +2
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
97bc5a7
into
autowarefoundation:main
…l displacement (autowarefoundation#9718) * feat(planning_evaluator): add evaluation feature of trajectory lateral displacement Signed-off-by: Kyoichi Sugahara <[email protected]> * feat(metrics_calculator): implement lookahead trajectory calculation and remove deprecated method Signed-off-by: Kyoichi Sugahara <[email protected]> * fix(planning_evaluator): rename lateral_trajectory_displacement to trajectory_lateral_displacement for consistency Signed-off-by: Kyoichi Sugahara <[email protected]> --------- Signed-off-by: Kyoichi Sugahara <[email protected]>
…l displacement (autowarefoundation#9718) * feat(planning_evaluator): add evaluation feature of trajectory lateral displacement Signed-off-by: Kyoichi Sugahara <[email protected]> * feat(metrics_calculator): implement lookahead trajectory calculation and remove deprecated method Signed-off-by: Kyoichi Sugahara <[email protected]> * fix(planning_evaluator): rename lateral_trajectory_displacement to trajectory_lateral_displacement for consistency Signed-off-by: Kyoichi Sugahara <[email protected]> --------- Signed-off-by: Kyoichi Sugahara <[email protected]>
Description
This PR introduces a new trajectory lateral displacement metric and enhances the stability evaluation capabilities of the planning evaluator by incorporating ego vehicle velocity and evaluation time parameters.
The main purpose of this metric is to detect trajectory chattering (rapid oscillations in planned paths), which can lead to unstable vehicle behavior.
trajectory_lateral_displacement
to evaluate cumulative lateral displacementevaluation_time_s
parameter (default: 5.0s) for trajectory evaluation durationcalc_lookahead_trajectory_distance
to calculate distance from ego position to trajectory endImplementation Details
Related links
Parent Issue:
How was this PR tested?
run simulator with foxglove visualization
2024-12-23_11.46.10.mp4
Notes for reviewers
None.
Interface changes
ROS Parameter Changes
Additions and removals
trajectory.evaluation_time_s
double
5.0
Effects on system behavior
None.