mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_Logger: add outout throttle to MOTB message
This commit is contained in:
parent
4b30810d11
commit
a4f1951780
@ -690,6 +690,7 @@ struct PACKED log_MotBatt {
|
||||
float bat_volt;
|
||||
float th_limit;
|
||||
float th_average_max;
|
||||
float th_out;
|
||||
uint8_t mot_fail_flags;
|
||||
};
|
||||
|
||||
@ -1228,6 +1229,7 @@ struct PACKED log_VER {
|
||||
// @Field: BatVolt: Ratio between detected battery voltage and maximum battery voltage
|
||||
// @Field: ThLimit: Throttle limit set due to battery current limitations
|
||||
// @Field: ThrAvMx: Maximum average throttle that can be used to maintain attitude control, derived from throttle mix params
|
||||
// @Field: ThrOut: Throttle output
|
||||
// @Field: FailFlags: bit 0 motor failed, bit 1 motors balanced, should be 2 in normal flight
|
||||
|
||||
// messages for all boards
|
||||
@ -1356,7 +1358,7 @@ LOG_STRUCTURE_FROM_AIS \
|
||||
{ LOG_VER_MSG, sizeof(log_VER), \
|
||||
"VER", "QBHBBBBIZH", "TimeUS,BT,BST,Maj,Min,Pat,FWT,GH,FWS,APJ", "s---------", "F---------", false }, \
|
||||
{ LOG_MOTBATT_MSG, sizeof(log_MotBatt), \
|
||||
"MOTB", "QffffB", "TimeUS,LiftMax,BatVolt,ThLimit,ThrAvMx,FailFlags", "s-----", "F-----" , true }
|
||||
"MOTB", "QfffffB", "TimeUS,LiftMax,BatVolt,ThLimit,ThrAvMx,ThrOut,FailFlags", "s------", "F------" , true }
|
||||
|
||||
// message types 0 to 63 reserved for vehicle specific use
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user