mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-30 19:33:45 +08:00
paramsd: invalid angle offset alert (#34715)
* Add angle offset valid field * Remove print * Move it * Add check in selfdrived * Same thing for stiffnessFactor and steerRatio * Fix * Alert callback * Fix bugs * Fix * Update events * Make it functional * Ref commit * Update ref commit * Remove dot * Fix Fix formatting * Default values * Update ref commit
This commit is contained in:
+6
-1
@@ -2238,6 +2238,11 @@ struct LiveParametersData {
|
||||
roll @14 :Float32;
|
||||
debugFilterState @16 :FilterState;
|
||||
|
||||
angleOffsetValid @17 :Bool = true;
|
||||
angleOffsetAverageValid @18 :Bool = true;
|
||||
steerRatioValid @19 :Bool = true;
|
||||
stiffnessFactorValid @20 :Bool = true;
|
||||
|
||||
yawRateDEPRECATED @7 :Float32;
|
||||
filterStateDEPRECATED @15 :LiveLocationKalman.Measurement;
|
||||
|
||||
@@ -2564,7 +2569,7 @@ struct Event {
|
||||
|
||||
# DO change the name of the field and struct
|
||||
# DON'T change the ID (e.g. @107)
|
||||
# DON'T change which struct it points to
|
||||
# DON'T change which struct it points to
|
||||
customReserved0 @107 :Custom.CustomReserved0;
|
||||
customReserved1 @108 :Custom.CustomReserved1;
|
||||
customReserved2 @109 :Custom.CustomReserved2;
|
||||
|
||||
Reference in New Issue
Block a user