mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-28 00:53:45 +08:00
test: initialize lane inactivity reason in shared longitudinal fixture
This commit is contained in:
@@ -90,6 +90,7 @@ def fixture(alpha=False):
|
||||
controls.sm.valid[name] = False
|
||||
controls.calibrated_pose = controls.last_lane_centering_result = None
|
||||
controls.lane_centering_applied = 0.
|
||||
controls.lane_centering_inactive_reason = 'inactive'
|
||||
controls.pm = NS(send=lambda *args: None)
|
||||
lateral_log = messaging.new_message('controlsState').controlsState.lateralControlState.init(
|
||||
'torqueState' if controls.CP.lateralTuning.which() == 'torque' else 'pidState')
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "b914d5a792b666247d6526565d7713d274bc494e4e1ef64304be55428b183dd9", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "c23d8ad29fe15b64095cdd2d31d478d750e61c954f67d1d77ef667917dddb33d", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user