From 12da45fdaf84d8103dbd5f7a11b4f5a05c6f611f Mon Sep 17 00:00:00 2001 From: rbiasini Date: Tue, 23 Jul 2019 15:28:04 -0700 Subject: [PATCH] Blackpanda (#4) * hw type added to thermal * better name * Add isPandaBlack to CarParams --- car.capnp | 1 + log.capnp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/car.capnp b/car.capnp index fd781f9b14d4a3..9a03b8d225698d 100644 --- a/car.capnp +++ b/car.capnp @@ -339,6 +339,7 @@ struct CarParams { steerActuatorDelay @36 :Float32; # Steering wheel actuator delay in seconds openpilotLongitudinalControl @37 :Bool; # is openpilot doing the longitudinal control? carVin @38 :Text; # VIN number queried during fingerprinting + isPandaBlack @39: Bool; struct LateralPIDTuning { kpBP @0 :List(Float32); diff --git a/log.capnp b/log.capnp index 3dbbc516d33a07..50faebc1619aa5 100644 --- a/log.capnp +++ b/log.capnp @@ -284,6 +284,7 @@ struct ThermalData { thermalStatus @14 :ThermalStatus; chargingError @17 :Bool; chargingDisabled @18 :Bool; + hwType @19: HealthData.HwType; enum ThermalStatus { green @0; # all processes run @@ -301,7 +302,7 @@ struct HealthData { controlsAllowed @3 :Bool; gasInterceptorDetected @4 :Bool; startedSignalDetectedDeprecated @5 :Bool; - isGreyPanda @6 :Bool; + hasGpsAntenna @6 :Bool; canSendErrs @7 :UInt32; canFwdErrs @8 :UInt32; gmlanSendErrs @9 :UInt32;