mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-03 08:41:41 +08:00
d4185a5d57
* checkpoint * door states, notes * updates * not worth it yet * wordsmith * more * more reverse engineering script content * Revise stationary ignition-only test steps Updated the steps for stationary ignition-only tests to include closing the driver's door and fastening the seatbelt before pressing the accelerator and brake pedals. * fix numbering
1.4 KiB
1.4 KiB
CarState signals
Required for basic lateral control
brakePressedcruiseStatedoorOpenespDisabledgasPressedgearShifterleftBlinker/rightBlinkerseatbeltUnlatchedstandstillsteeringAngleDegsteeringPressedsteeringTorquesteerFaultPermanentsteerFaultTemporaryvCruisewheelSpeeds.[fl|fr|rl|rr]: Speed of each of the car's four wheels, in m/s. The car's CAN bus often broadcasts the speed in kph, so the helper functionparse_wheel_speedsperforms this conversion by default.
Recommended / Required for openpilot longitudinal control
accFaultedespActiveparkingBrake
Application Dependent
blockPcmEnablebuttonEnablebrakeHoldActivecarFaultedNonCriticalinvalidLkasSettinglowSpeedAlertregenBrakingsteeringAngleOffsetDegsteeringDisengagesteeringTorqueEpsstockLkasvCruiseClustervEgoClustervehicleSensorsInvalid
Automatically populated
buttonEvents
These values are populated automatically by parse_wheel_speeds:
aEgo: Acceleration of the ego vehicle, Kalman filtered derivative ofvEgo.vEgo: Speed of the ego vehicle, Kalman filtered fromvEgoRaw.vEgoRaw: Speed of the ego vehicle, based on the average of all four wheel speeds, unfiltered.
Optional
brakechargingfuelGaugeleftBlindspot/rightBlindspotsteeringRateDegstockAebstockFcwyawRate