diff --git a/car.capnp b/car.capnp index e6c9df5dd..6c0cf2b07 100644 --- a/car.capnp +++ b/car.capnp @@ -117,6 +117,9 @@ struct CarState { # gear gearShifter @14 :GearShifter; + # clutch (manual transmission only) + clutchPressed @27 :Bool; + # button presses buttonEvents @11 :List(ButtonEvent); leftBlinker @20 :Bool; @@ -341,6 +344,7 @@ struct CarParams { openpilotLongitudinalControl @37 :Bool; # is openpilot doing the longitudinal control? carVin @38 :Text; # VIN number queried during fingerprinting isPandaBlack @39: Bool; + transmissionType @40 :TransmissionType; # What type of transmission do we have? struct LateralPIDTuning { kpBP @0 :List(Float32); @@ -402,4 +406,10 @@ struct CarParams { torque @0; angle @1; } + + enum TransmissionType { + unknown @0; + automatic @1; + manual @2; + } }