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(tier4_state_rviz_plugin): check for abrupt deceleration #9474

Conversation

mitukou1109
Copy link
Contributor

@mitukou1109 mitukou1109 commented Nov 26, 2024

Description

This PR adds an abrupt deceleration checking feature to VelocitySteeringFactorsPanel.

If the minimum distance required to stop under the specified jerk and acceleration limit is greater than the distance to the stop point, abrupt deceleration is detected.

How was this PR tested?

Psim

Screencast.from.2024.11.29.19.36.39.webm

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:common Common packages from the autoware-common repository. (auto-assigned) label Nov 26, 2024
Copy link

github-actions bot commented Nov 26, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@mitukou1109 mitukou1109 marked this pull request as ready for review November 29, 2024 00:50
@satoshi-ota satoshi-ota self-assigned this Nov 29, 2024
@mitukou1109 mitukou1109 force-pushed the feat/abrupt_deceleration_checker branch from 6bf3546 to 406cef1 Compare November 29, 2024 10:40
Copy link
Contributor

@satoshi-ota satoshi-ota left a comment

Choose a reason for hiding this comment

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

LGTM. Good job 👍

@satoshi-ota satoshi-ota added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Dec 1, 2024
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

Attention: Patch coverage is 0% with 36 lines in your changes missing coverage. Please review.

Project coverage is 29.48%. Comparing base (e4f8414) to head (406cef1).
Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
...viz_plugin/src/velocity_steering_factors_panel.cpp 0.00% 36 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9474      +/-   ##
==========================================
- Coverage   29.49%   29.48%   -0.02%     
==========================================
  Files        1441     1442       +1     
  Lines      108590   108655      +65     
  Branches    41471    41477       +6     
==========================================
  Hits        32032    32032              
- Misses      73229    73294      +65     
  Partials     3329     3329              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 29.49% <ø> (+<0.01%) ⬆️ Carriedforward from e4f8414

*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.

@satoshi-ota satoshi-ota merged commit 90fb05f into autowarefoundation:main Dec 2, 2024
44 checks passed
shmpwk pushed a commit to tier4/autoware.universe that referenced this pull request Dec 2, 2024
…efoundation#9474)

* add abrupt deceleration checking feature to velocity steering factors panel

Signed-off-by: mitukou1109 <[email protected]>

* use spin box instead of slider & change layout

Signed-off-by: mitukou1109 <[email protected]>

* set minimum input to 0.0

Signed-off-by: mitukou1109 <[email protected]>

* change accent color to Freak Pink

Signed-off-by: mitukou1109 <[email protected]>

---------

Signed-off-by: mitukou1109 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants