test: initialize lane inactivity reason in shared longitudinal fixture

This commit is contained in:
Dom
2026-10-26 10:52:03 -05:00
parent 7f5d30c30d
commit df021f4e14
2 changed files with 2 additions and 1 deletions
@@ -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
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "b914d5a792b666247d6526565d7713d274bc494e4e1ef64304be55428b183dd9", "schema_version": 1}
{"protected_inventory_sha256": "c23d8ad29fe15b64095cdd2d31d478d750e61c954f67d1d77ef667917dddb33d", "schema_version": 1}