Skip to content

Commit

Permalink
Blackpanda (#4)
Browse files Browse the repository at this point in the history
* hw type added to thermal

* better name

* Add isPandaBlack to CarParams
  • Loading branch information
rbiasini authored Jul 23, 2019
1 parent 4ea03ba commit 12da45f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 12da45f

Please sign in to comment.