mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
AP_Logger: use FieldBitmaskEnum and FieldValueEnum
This commit is contained in:
parent
6ce2e17232
commit
c25720a47e
@ -728,8 +728,10 @@ struct PACKED log_VER {
|
||||
// @Field: TimeUS: Time since system startup
|
||||
// @Field: ArmState: true if vehicle is now armed
|
||||
// @Field: ArmChecks: arming bitmask at time of arming
|
||||
// @FieldBitmaskEnum: ArmChecks: AP_Arming::ArmingChecks
|
||||
// @Field: Forced: true if arm/disarm was forced
|
||||
// @Field: Method: method used for arming
|
||||
// @FieldValueEnum: Method: AP_Arming::Method
|
||||
|
||||
// @LoggerMessage: ARSP
|
||||
// @Description: Airspeed sensor data
|
||||
@ -818,12 +820,14 @@ struct PACKED log_VER {
|
||||
// @Description: Specifically coded error messages
|
||||
// @Field: TimeUS: Time since system startup
|
||||
// @Field: Subsys: Subsystem in which the error occurred
|
||||
// @FieldValueEnum: Subsys: LogErrorSubsystem
|
||||
// @Field: ECode: Subsystem-specific error code
|
||||
|
||||
// @LoggerMessage: EV
|
||||
// @Description: Specifically coded event messages
|
||||
// @Field: TimeUS: Time since system startup
|
||||
// @Field: Id: Event identifier
|
||||
// @FieldValueEnum: Id: LogEvent
|
||||
|
||||
// @LoggerMessage: FMT
|
||||
// @Description: Message defining the format of messages in this file
|
||||
@ -845,6 +849,7 @@ struct PACKED log_VER {
|
||||
// @Description: Landing gear information
|
||||
// @Field: TimeUS: Time since system startup
|
||||
// @Field: LandingGear: Current landing gear state
|
||||
// @FieldValueEnum: LandingGear: AP_LandingGear::LG_LandingGear_State
|
||||
// @Field: WeightOnWheels: True if there is weight on wheels
|
||||
|
||||
// @LoggerMessage: MAG
|
||||
@ -871,6 +876,7 @@ struct PACKED log_VER {
|
||||
// @Field: rxp: received packet count
|
||||
// @Field: rxdp: perceived number of packets we never received
|
||||
// @Field: flags: compact representation of some stage of the channel
|
||||
// @FieldBitmaskEnum: flags: GCS_MAVLINK::Flags
|
||||
// @Field: ss: stream slowdown is the number of ms being added to each message to fit within bandwidth
|
||||
// @Field: tf: times buffer was full when a message was going to be sent
|
||||
|
||||
@ -899,6 +905,7 @@ struct PACKED log_VER {
|
||||
// @Field: Mode: vehicle-specific mode number
|
||||
// @Field: ModeNum: alias for Mode
|
||||
// @Field: Rsn: reason for entering this mode; enumeration value
|
||||
// @FieldValueEnum: Rsn: ModeReason
|
||||
|
||||
// @LoggerMessage: MSG
|
||||
// @Description: Textual messages
|
||||
@ -951,6 +958,7 @@ struct PACKED log_VER {
|
||||
// @Field: Mem: Free memory available
|
||||
// @Field: Load: System processor load
|
||||
// @Field: IntE: Internal error mask; which internal errors have been detected
|
||||
// @FieldBitmaskEnum: IntE: AP_InternalError::error_t
|
||||
// @Field: ErrL: Internal error line number; last line number on which a internal error was detected
|
||||
// @Field: ErrC: Internal error count; how many internal errors have been detected
|
||||
// @Field: SPIC: Number of SPI transactions processed
|
||||
@ -1095,14 +1103,16 @@ struct PACKED log_VER {
|
||||
// @Field: NumPts: number of points currently in use
|
||||
// @Field: MaxPts: maximum number of points that could be used
|
||||
// @Field: Action: most recent internal action taken by SRTL library
|
||||
// @FieldValueEnum: Action: AP_SmartRTL::SRTL_Actions
|
||||
// @Field: N: point associated with most recent action (North component)
|
||||
// @Field: E: point associated with most recent action (East component)
|
||||
// @Field: D: point associated with most recent action (Down component)
|
||||
|
||||
// @LoggerMessage: TERR
|
||||
// @Description: Terrain database infomration
|
||||
// @Description: Terrain database information
|
||||
// @Field: TimeUS: Time since system startup
|
||||
// @Field: Status: Terrain database status
|
||||
// @FieldValueEnum: Status: AP_Terrain::TerrainStatus
|
||||
// @Field: Lat: Current vehicle latitude
|
||||
// @Field: Lng: Current vehicle longitude
|
||||
// @Field: Spacing: terrain Tile spacing
|
||||
|
Loading…
Reference in New Issue
Block a user