From df5595c5264262e4f60e3ced0fae93475a686a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20Ba=C3=B1uelos?= <32311654+abanuelo@users.noreply.github.com> Date: Fri, 26 Jul 2024 10:02:11 -0700 Subject: [PATCH] fix: add blueprint for test_brake for CARLA simulator tests (#292) * fix: Adding modifications to codecov.yml * fix: test_brake test increase steps * fix: adding blueprint --------- Co-authored-by: Armando Banuelos Co-authored-by: Armando Banuelos --- tests/simulators/carla/test_actions.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/simulators/carla/test_actions.py b/tests/simulators/carla/test_actions.py index e3dd51980..f0aede475 100644 --- a/tests/simulators/carla/test_actions.py +++ b/tests/simulators/carla/test_actions.py @@ -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)