honda: tidy the Accord carcontroller

Drop an extra blank line and a comment about an older tree; the prebuilt
receipt is refreshed for the source change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Raymond Nguyen
2026-11-24 17:44:47 -08:00
parent ac77f9a20c
commit b51d18fd56
2 changed files with 1 additions and 4 deletions
@@ -20,7 +20,6 @@ LongCtrlState = structs.CarControl.Actuators.LongControlState
SteerControlType = structs.CarParams.SteerControlType
def compute_gb_honda_bosch(accel, speed):
# TODO returns 0s, is unused
return 0.0, 0.0
@@ -136,8 +135,6 @@ class CarController(CarControllerBase):
# The panda blocks a nonzero 0xE4 field unless lateral_controls_allowed(). Without an AOL policy that is
# controls_allowed (needs ACC main on and engagement); with one it is a session-acknowledged axis permission the
# carcontroller cannot see, so the hold is sent only in the subset every policy allows: enabled with main on.
# (The old tree also held under always-on lateral; the 7.0 panda predicate is stricter, so that case now sends 0,
# which the old design already accepted for the not-allowed state.)
return bool(CS.out.cruiseState.available) and bool(CC.enabled)
def _update_angle(self, CC, CS) -> tuple[float, int]:
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "e7480bb8a0715eb5d1c914283d64d1e31ee450c2dd425d660ba433e31af9bca5", "schema_version": 1}
{"protected_inventory_sha256": "f05914d587ac475971aad98cab77536df175c9bc47a988f8aa1c9e09793141c3", "schema_version": 1}