From 593ea504e7a9a23b81b9a03fe8a2dffddfe7c8ac Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 16 May 2024 15:41:20 -0700 Subject: [PATCH] test_car_interface: run CC once (#32449) run once --- selfdrive/car/tests/test_car_interfaces.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/selfdrive/car/tests/test_car_interfaces.py b/selfdrive/car/tests/test_car_interfaces.py index 72c1e27ab9..dfcd9b0527 100755 --- a/selfdrive/car/tests/test_car_interfaces.py +++ b/selfdrive/car/tests/test_car_interfaces.py @@ -93,7 +93,6 @@ class TestCarInterfaces(unittest.TestCase): for _ in range(10): car_interface.update(CC, []) car_interface.apply(CC, now_nanos) - car_interface.apply(CC, now_nanos) now_nanos += DT_CTRL * 1e9 # 10 ms CC = car.CarControl.new_message(**cc_msg) @@ -101,7 +100,6 @@ class TestCarInterfaces(unittest.TestCase): for _ in range(10): car_interface.update(CC, []) car_interface.apply(CC, now_nanos) - car_interface.apply(CC, now_nanos) now_nanos += DT_CTRL * 1e9 # 10ms # Test controller initialization