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(motion_velocity_smoother): change max_lateral_accel from 0.8 to 1.0 #2057

Merged

Conversation

maxime-clem
Copy link
Contributor

@maxime-clem maxime-clem commented Oct 13, 2022

Signed-off-by: Maxime CLEMENT [email protected]

Description

This PR increases the value of the max_lateral_accel parameter in the motion_velocity_smoother node. allowing to drive at higher velocities in curves.

The current value of 0.8 m/s² is very conservative to avoid situations where the ego vehicle would drive too fast when close to some obstacles (e.g., guard rail) in curves. This PR changes the value to 1.0 m/s².

A new node (#1579) can be used to limit the velocity when driving near obstacles.

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Copy link
Contributor

@takayuki5168 takayuki5168 left a comment

Choose a reason for hiding this comment

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

LGTM

@taikitanaka3
Copy link
Contributor

@maxime-clem
can you add PR to tier4/autoware_launch too?

@maxime-clem
Copy link
Contributor Author

@maxime-clem can you add PR to tier4/autoware_launch too?

Done: tier4/autoware_launch#512

Copy link
Contributor

@takayuki5168 takayuki5168 left a comment

Choose a reason for hiding this comment

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

By discussion with Max-san, we'd better apply the change only to the specific vehicle.

@maxime-clem maxime-clem deleted the feat-max-lat-accel-1.0 branch October 13, 2022 02:37
@maxime-clem maxime-clem restored the feat-max-lat-accel-1.0 branch October 17, 2022 01:41
@maxime-clem
Copy link
Contributor Author

Following discussions with @TakaHoribe and @tkimura4 I am reopening this PR.

@maxime-clem maxime-clem reopened this Oct 17, 2022
@codecov
Copy link

codecov bot commented Oct 17, 2022

Codecov Report

Base: 10.41% // Head: 10.41% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (db18851) compared to base (f234a7d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2057      +/-   ##
==========================================
- Coverage   10.41%   10.41%   -0.01%     
==========================================
  Files        1170     1170              
  Lines       83574    83574              
  Branches    19581    19581              
==========================================
- Hits         8705     8704       -1     
  Misses      65364    65364              
- Partials     9505     9506       +1     
Flag Coverage Δ *Carryforward flag
differential ∅ <ø> (?)
total 10.39% <ø> (-0.01%) ⬇️ Carriedforward from f234a7d

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

Impacted Files Coverage Δ
...planning_evaluator/src/planning_evaluator_node.cpp 37.11% <0.00%> (-1.04%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@takayuki5168
Copy link
Contributor

@TakaHoribe @tkimura4 Could you approve if this PR is okay for you.

Copy link
Contributor

@tkimura4 tkimura4 left a comment

Choose a reason for hiding this comment

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

LGTM

@maxime-clem maxime-clem merged commit 023f6fa into autowarefoundation:main Oct 25, 2022
@maxime-clem maxime-clem deleted the feat-max-lat-accel-1.0 branch October 25, 2022 06:36
HansRobo pushed a commit to HansRobo/autoware.universe that referenced this pull request Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants