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

fix(obstacle_cruise_planner): adjust parameters for handling overtaking then slowing down NPC #1102

Conversation

ahmeddesokyebrahim
Copy link
Contributor

Description

Fixes :

Related links

Parent Issue :

Tests performed

Using scenario simulation

Before this PR

NPC slowing down from 20 to 15 km/h "PASSED ✔️ "

2024-08-01.07-33-50.mp4

NPC slowing down from 20 to 12.5 km/h "FAILED ❌"

2024-08-01.07-35-41.mp4

NPC slowing down from 20 to 10 km/h "FAILED ❌"

2024-08-01.07-36-56.mp4

After this PR

NPC slowing down from 20 to 15 km/h "PASSED ✔️ "

2024-08-01.07-22-10.mp4

NPC slowing down from 20 to 12.5 km/h "PASSED ✔️ "

2024-08-01.07-23-59.mp4

NPC slowing down from 20 to 10 km/h "PASSED ✔️ "

2024-08-01.07-25-55.mp4

Notes for reviewers

Interface changes

ROS Topic Changes

ROS Parameter Changes

Parameter Name Default Value Update Description
safe_distance_margin 5.0 m Lowering the safe distance margin enabling less -ve acceleration and hence and less drop of ego vehicle velocity while slowing down for cruising a front overtaking NPC
obstacle_velocity_threshold_from_cruise_to_stop 2.5 m/s Lowering the velocity threshod from cruise to stop for obostacles to be 2.5 m/s (9 km/h) for better handling some situations in dense urban ODD

Effects on system behavior

Improving obstacle_cruise_planner so that it is handing overtaking then slowing down NPC in dense urban ODD scenarios will better -ve acceleration and velocity drop while slowing down.

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

…ng then slowing down scenarios

Signed-off-by: Ahmed Ebrahim <[email protected]>
@ahmeddesokyebrahim ahmeddesokyebrahim force-pushed the autoware/launch/7877-fix-dense-urban-overtaking-then-slowing-down-scenarios branch from 27e0d63 to 9adfeea Compare August 29, 2024 13:08
@xmfcx
Copy link
Contributor

xmfcx commented Sep 3, 2024

@satoshi-ota @danielsanchezaran could you review this please? It's been a long time and it's a very small parameter change.

@ahmeddesokyebrahim
Copy link
Contributor Author

Closing this PR as the intended issue and scenario/s will be covered by this PR

@satoshi-ota
Copy link
Contributor

@xmfcx @ahmeddesokyebrahim Sorry for late reply. This module obstacle_cruise_planner is maintained by @yuki-takagi-66 and @takayuki5168 , so please mention them when you modify something 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants