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: disable the localization noises when ego speed is slow #1542

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

xtk8532704
Copy link
Contributor

@xtk8532704 xtk8532704 commented Mar 5, 2025

Description

Put a limit on the localization noise: disable noise when the ego speed < speed_threshold

Abstract

Put a limit on the localization noise: when the ego speed < speed_threshold, the localization noises are not applied.

Background

The ego can't engage when enable_keep_stopped_until_steer_convergence is true and the localization noises are applied.

Details

In a real environment, the ego can engage because the localization noises stabilize at a fixed value if the vehicle stops.
So we also want to stop localization noises when the ego stops.

Test results in the basic planning scenarios:
Before: 3792/3815 (pass/all)
After: 3817/3820 (pass/all)

References

None

Destructive Changes

None

Known Limitations

None

Copy link

github-actions bot commented Mar 5, 2025

Checklist for reviewers ☑️

All references to "You" in the following text refer to the code reviewer.

  • Is this pull request written in a way that is easy to read from a third-party perspective?
  • Is there sufficient information (background, purpose, specification, algorithm description, list of disruptive changes, and migration guide) in the description of this pull request?
  • If this pull request contains a destructive change, does this pull request contain the migration guide?
  • Labels of this pull request are valid?
  • All unit tests/integration tests are included in this pull request? If you think adding test cases is unnecessary, please describe why and cross out this line.
  • The documentation for this pull request is enough? If you think adding documents for this pull request is unnecessary, please describe why and cross out this line.

@xtk8532704 xtk8532704 changed the title fix: disable the localization noises when ego speed is slow feat: disable the localization noises when ego speed is slow Mar 5, 2025
@xtk8532704 xtk8532704 marked this pull request as ready for review March 6, 2025 02:02
@xtk8532704 xtk8532704 requested a review from yamacir-kit March 6, 2025 02:02
Copy link

sonarqubecloud bot commented Mar 6, 2025

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