Skip to content

Commit

Permalink
Update atomic_trigger_conditions.py (#946)
Browse files Browse the repository at this point in the history
In the StandStill() class, change the EPSILON, 0.001
  • Loading branch information
TigerStone93 committed Apr 26, 2024
1 parent 382fb79 commit 459eead
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def update(self):

velocity = CarlaDataProvider.get_velocity(self._actor)

if velocity > EPSILON:
if velocity > 0.1:
self._start_time = GameTime.get_time()

if GameTime.get_time() - self._start_time > self._duration:
Expand Down

0 comments on commit 459eead

Please sign in to comment.