Skip to content
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(path_optimizer): additional failure logging and failure mode handling #10276

Conversation

PanConChicharron
Copy link
Contributor

@PanConChicharron PanConChicharron commented Mar 17, 2025

Description

Returns the smoothed_points trajectory fed into MPT when the latter fails, triggers an emergency stop MRM after 3s.

Related links

Parent Issue:

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:system System design and integration. (auto-assigned) component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) labels Mar 17, 2025
Copy link

github-actions bot commented Mar 17, 2025

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@PanConChicharron PanConChicharron force-pushed the arjun.ram/awf_RT0-33698 branch from 9f02461 to dcc175c Compare March 17, 2025 05:52
@github-actions github-actions bot added component:system System design and integration. (auto-assigned) and removed component:system System design and integration. (auto-assigned) component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) labels Mar 17, 2025
@PanConChicharron PanConChicharron force-pushed the arjun.ram/awf_RT0-33698 branch 2 times, most recently from b1481a1 to 3f29a49 Compare March 17, 2025 08:56
@PanConChicharron PanConChicharron changed the title fix feat(obstacle_avoidance_planner): additional failure logging and failure mode handling Mar 17, 2025
@PanConChicharron PanConChicharron marked this pull request as ready for review March 17, 2025 08:58
@@ -36,13 +22,21 @@ units:
- { type: link, link: /autoware/system }
- { type: link, link: /autoware/control/remote }

- path: /autoware/modes/emergency_stop
- path: /autoware/modes/stop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to modify this file a lot?
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted.

Comment on lines 2 to 7
- { path: $(dirname)/control.yaml }
- { path: $(dirname)/localization.yaml }
- { path: $(dirname)/planning.yaml }
- { path: $(dirname)/map.yaml }
- { path: $(dirname)/perception.yaml }
- { path: $(dirname)/control.yaml }
- { path: $(dirname)/vehicle.yaml }
- { path: $(dirname)/planning.yaml }
- { path: $(dirname)/system.yaml }
- { path: $(dirname)/vehicle.yaml }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason of re-ordering?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted.

@PanConChicharron PanConChicharron force-pushed the arjun.ram/awf_RT0-33698 branch from 64b94f5 to 0fb9b2a Compare March 18, 2025 02:14
@PanConChicharron PanConChicharron added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Mar 18, 2025
@PanConChicharron PanConChicharron force-pushed the arjun.ram/awf_RT0-33698 branch 3 times, most recently from d489c37 to 9288097 Compare March 18, 2025 08:28
@takayuki5168 takayuki5168 changed the title feat(obstacle_avoidance_planner): additional failure logging and failure mode handling feat(path_optimizer): additional failure logging and failure mode handling Mar 18, 2025
@PanConChicharron PanConChicharron force-pushed the arjun.ram/awf_RT0-33698 branch 4 times, most recently from f070ff0 to 6ba71d7 Compare March 18, 2025 10:38
Copy link
Contributor

@isamu-takagi isamu-takagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for diagnostics. Don't forget to also update the config in autoware_launch.

Copy link
Contributor

@go-sakayori go-sakayori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for autoware_velocity_smoother.
(Checked that this PR is needed to build successfully)

@PanConChicharron PanConChicharron enabled auto-merge (squash) March 19, 2025 00:51
@PanConChicharron PanConChicharron force-pushed the arjun.ram/awf_RT0-33698 branch from a21b697 to edef579 Compare March 19, 2025 01:04
Signed-off-by: Arjun Jagdish Ram <arjun.ram@tier4.jp>
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

Attention: Patch coverage is 59.61538% with 21 lines in your changes missing coverage. Please review.

Project coverage is 25.93%. Comparing base (004cdfa) to head (da4d43f).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...utoware/path_optimizer/utils/conditional_timer.hpp 60.00% 2 Missing and 2 partials ⚠️
planning/autoware_path_optimizer/src/node.cpp 77.77% 2 Missing and 2 partials ⚠️
.../optimization_based_planner/velocity_optimizer.cpp 0.00% 3 Missing ⚠️
...ning/autoware_path_optimizer/src/mpt_optimizer.cpp 66.66% 3 Missing ⚠️
.../optimization_based_planner/velocity_optimizer.cpp 0.00% 3 Missing ⚠️
..._smoother/src/smoother/l2_pseudo_jerk_smoother.cpp 0.00% 2 Missing ⚠️
...moother/src/smoother/linf_pseudo_jerk_smoother.cpp 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10276   +/-   ##
=======================================
  Coverage   25.92%   25.93%           
=======================================
  Files        1382     1383    +1     
  Lines      106811   106835   +24     
  Branches    40907    40911    +4     
=======================================
+ Hits        27691    27706   +15     
- Misses      76416    76422    +6     
- Partials     2704     2707    +3     
Flag Coverage Δ *Carryforward flag
differential 30.57% <59.61%> (?)
total 25.91% <ø> (-0.01%) ⬇️ Carriedforward from 660ae1a

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@PanConChicharron PanConChicharron merged commit de7ad75 into autowarefoundation:main Mar 19, 2025
32 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) component:system System design and integration. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants