Skip to content

Commit

Permalink
fix: add blueprint for test_brake for CARLA simulator tests (#292)
Browse files Browse the repository at this point in the history
* fix: Adding modifications to codecov.yml

* fix: test_brake test increase steps

* fix: adding blueprint

---------

Co-authored-by: Armando Banuelos <[email protected]>
Co-authored-by: Armando Banuelos <[email protected]>
  • Loading branch information
3 people authored Jul 26, 2024
1 parent 488f45a commit df5595c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/simulators/carla/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@ def test_brake(getCarlaSimulator):
behavior DriveThenBrake():
do DriveWithThrottle() for 2 steps
do Brake() for 4 steps
do Brake() for 6 steps
ego = new Car at (369, -326), with behavior DriveThenBrake
ego = new Car at (369, -326),
with blueprint 'vehicle.toyota.prius',
with behavior DriveThenBrake
record final ego.speed as CarSpeed
terminate after 6 steps
terminate after 8 steps
"""
scenario = compileScenic(code, mode2D=True)
scene = sampleScene(scenario)
Expand Down

0 comments on commit df5595c

Please sign in to comment.