Add unsafeMode to carParams (#242)

doesn't vary by panda

add to pandaState for health packet as well
This commit is contained in:
Shane Smiskol 2022-01-25 02:20:26 -08:00 committed by GitHub
parent e2868d85ae
commit 5c64eaab78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,7 @@ struct CarParams {
minSteerSpeed @8 :Float32;
maxSteeringAngleDeg @54 :Float32;
safetyConfigs @62 :List(SafetyConfig);
unsafeMode @65 :Int16;
steerMaxBP @11 :List(Float32);
steerMaxV @12 :List(Float32);

View File

@ -389,6 +389,7 @@ struct PandaState @0xa7649e2575e4591e {
ignitionCan @13 :Bool;
safetyModel @14 :Car.CarParams.SafetyModel;
safetyParam @20 :Int16;
unsafeMode @23 :Int16;
faultStatus @15 :FaultStatus;
powerSaveEnabled @16 :Bool;
uptime @17 :UInt32;