We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c9ccaf commit c3feb8fCopy full SHA for c3feb8f
selfdrive/controls/tests/test_latcontrol.py
@@ -32,13 +32,13 @@ def test_saturation(self, car_name, controller):
32
33
# Saturate for curvature limited and controller limited
34
for _ in range(1000):
35
- _, _, lac_log = controller.update(True, CS, VM, params, False, 0, True)
+ _, _, lac_log = controller.update(True, CS, VM, params, False, 0, 0, True)
36
assert lac_log.saturated
37
38
39
- _, _, lac_log = controller.update(True, CS, VM, params, False, 0, False)
+ _, _, lac_log = controller.update(True, CS, VM, params, False, 0, 0, False)
40
assert not lac_log.saturated
41
42
43
- _, _, lac_log = controller.update(True, CS, VM, params, False, 1, False)
+ _, _, lac_log = controller.update(True, CS, VM, params, False, 1, 1, False)
44
0 commit comments