Tracker: add information on onboard log messages

This commit is contained in:
Peter Barker 2020-03-27 10:39:59 +11:00 committed by Peter Barker
parent aec5ae91fa
commit 64b54fd92a
1 changed files with 16 additions and 0 deletions

View File

@ -65,6 +65,22 @@ void Tracker::Log_Write_Vehicle_Pos(int32_t lat, int32_t lng, int32_t alt, const
logger.WriteBlock(&pkt, sizeof(pkt));
}
// @LoggerMessage: VBAR
// @Description: Information received from tracked vehicle; barometer data
// @Field: TimeUS: microseconds since system startup
// @Field: Press: vehicle baromettric pressure
// @Field: AltDiff: altitude difference based on difference on barometric pressure
// @LoggerMessage: VPOS
// @Description: Information received from tracked vehicle; barometer position data
// @Field: TimeUS: microseconds since system startup
// @Field: Lat: tracked vehicle latitude
// @Field: Lng: tracked vehicle longitude
// @Field: Alt: tracked vehicle altitude
// @Field: VelX: tracked vehicle velocity, latitude component
// @Field: VelY: tracked vehicle velocity, longitude component
// @Field: VelZ: tracked vehicle velocity, vertical component, down
// type and unit information can be found in
// libraries/AP_Logger/Logstructure.h; search for "log_Units" for
// units and "Format characters" for field type information