mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 21:12:07 +08:00
test_car_interface: run CC once (#32449)
run once old-commit-hash: 593ea504e7a9a23b81b9a03fe8a2dffddfe7c8ac
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user