Skip to content

Commit c3feb8f

Browse files
committed
test should accomodate change
1 parent 5c9ccaf commit c3feb8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

selfdrive/controls/tests/test_latcontrol.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ def test_saturation(self, car_name, controller):
3232

3333
# Saturate for curvature limited and controller limited
3434
for _ in range(1000):
35-
_, _, lac_log = controller.update(True, CS, VM, params, False, 0, True)
35+
_, _, lac_log = controller.update(True, CS, VM, params, False, 0, 0, True)
3636
assert lac_log.saturated
3737

3838
for _ in range(1000):
39-
_, _, lac_log = controller.update(True, CS, VM, params, False, 0, False)
39+
_, _, lac_log = controller.update(True, CS, VM, params, False, 0, 0, False)
4040
assert not lac_log.saturated
4141

4242
for _ in range(1000):
43-
_, _, lac_log = controller.update(True, CS, VM, params, False, 1, False)
43+
_, _, lac_log = controller.update(True, CS, VM, params, False, 1, 1, False)
4444
assert lac_log.saturated

0 commit comments

Comments
 (0)