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(run_out): speed up run out response #1163

Merged

Conversation

danielsanchezaran
Copy link
Contributor

Description

This PR changes some default parameters for the run out module to make it more responsive.
Details on changed params:
time_threshold : This parameter makes it so the run_out module does NOT issue a stop wall unless it detects a collision with a pedestrian/bicycle for more than time_threshold seconds, currently this parameter is set to 0.5 seconds, which is too long in my opinion, I would like to reduce this value to 0.15 seconds (I would also like to know how the ego behaves if this feature is disabled by setting the ignore_momentary_detection.enable parameter to false). I believe the reason for increasing the value in the first case was to reduce the occurrence of unwanted run out activation, but I believe the module has improved enough for this parameter to be returned to 0.15 seconds (or maybe disable the feature altogether).
max_prediction_time: This parameter sets the time horizon for pedestrian path prediction. Currently it is set at 3 seconds which I believe its low, specially for pedestrians near the ego vehicle. I believe this parameter should be tuned to around ~7 seconds, but I would like the XX1 team support.
keep_stop_point_time: Increased to 2 seconds to maintain the run out stop wall a little longer.

Tests performed

PSim
example

cap-.2024-09-11-15-17-40.mp4

Degradation tests:
TIER IV INTERNAL LINK

Not applicable.

Effects on system behavior

Not applicable.

Interface changes

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.

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
Copy link
Contributor

@shmpwk shmpwk left a comment

Choose a reason for hiding this comment

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

LGTM

@shmpwk shmpwk enabled auto-merge (squash) September 12, 2024 05:14
@shmpwk shmpwk merged commit 0086200 into autowarefoundation:main Sep 12, 2024
13 checks passed
@shmpwk shmpwk deleted the feat/speed-up-run-out-response branch September 12, 2024 05:15
xtk8532704 pushed a commit to tier4/autoware_launch that referenced this pull request Sep 27, 2024
speed up run out response

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
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.

2 participants