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(simple_sensor_simulator): use vel state for acc state calculation of SimModelDelaySteerVel #1516

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Jan 27, 2025

Description

Abstract

porting autowarefoundation/autoware.universe#10030.
use vel state for acc state calculation of SimModelDelaySteerVel

Background

fix the scenario fails in https://tier4.atlassian.net/browse/RT1-9039
this caused by introducing acc condtion

96/98(2025/01/14) -> 64/98(2025/01/15) (degraded!!)

Details

Currently, the vel input control is used to calculate the acc state. However, the input values can fluctuate, sometimes resulting in a large acc state.
In this PR, I’ve changed the calculation method so that the acc state is now based on the vel state, which is computed using a first-order lag filter.

before

image

after

image

References

How was this PR tested?

Destructive Changes

Known Limitations

Copy link

github-actions bot commented Jan 27, 2025

This PR edits vehicle model that is copied from simple_planning_simulator. Please consider making changes to the original code to avoid confusion or consult developers (@hakuturu583, @yamacir-kit and @HansRobo ).

@kosuke55 kosuke55 marked this pull request as ready for review January 29, 2025 04:04
@kosuke55 kosuke55 requested a review from HansRobo January 29, 2025 04:05
@kosuke55 kosuke55 changed the title feat(simple_sensor_simulator): use vel state for acc state calculation feat(simple_sensor_simulator): use vel state for acc state calculation of SimModelDelaySteerVel Jan 29, 2025
@HansRobo HansRobo added wait for regression test bump patch If this pull request merged, bump patch version of the scenario_simulator_v2 labels Jan 29, 2025
@kosuke55
Copy link
Contributor Author

@HansRobo HansRobo self-assigned this Jan 30, 2025
@HansRobo HansRobo merged commit 60c06ef into master Jan 31, 2025
15 checks passed
@HansRobo HansRobo deleted the feat/vel_model_acc branch January 31, 2025 00:31
@github-actions github-actions bot restored the feat/vel_model_acc branch January 31, 2025 00:32
@github-actions github-actions bot deleted the feat/vel_model_acc branch January 31, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch If this pull request merged, bump patch version of the scenario_simulator_v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants