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

Update atomic_trigger_conditions.py #946

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

TigerStone93
Copy link
Contributor

@TigerStone93 TigerStone93 commented Nov 1, 2022

Description

In the StandStill class, change the EPSILON, 0.001, to the float value 0.1.
When a vehicle stops after cruising, even though it actually not moves at all, but the velocity could have a value larger than 0.001 while the displayed velocity is 0kph, so the StandStillCondition is not triggered as the developer's original intention.
This change makes StandStill class work properly not only before vehicle's start but also after the vehicle's stop.

Where has this been tested?

  • Platform(s): Ubuntu 18.04
  • Python version(s): 3.7
  • Unreal Engine version(s): 4.26
  • CARLA version: 0.9.13

This change is Reviewable

TigerStone93 and others added 2 commits November 2, 2022 02:08
In the StandStill() class, change the EPSILON, 0.001, to the float value 0.1.

When a vehicle stops after cruising, even though it actually not moves at all, but the velocity could have a value larger than 0.001. 

The change makes StandStill() class work properly not only before vehicle's start but also after the vehicle's stop.
In the StandStill() class, change the EPSILON, 0.001, to the float value 0.1.

When a vehicle stops after cruising, even though it actually not moves at all, but the velocity could have a value larger than 0.001. 

The change makes StandStill() class work properly not only before vehicle's start but also after the vehicle's stop.
Copy link
Contributor

@glopezdiest glopezdiest left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @TigerStone93)

@glopezdiest glopezdiest merged commit 459eead into carla-simulator:master Apr 26, 2024
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants