mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
Tools: support for units on fields
Tools: add units to minimal log format Tools: add units to CHEK message
This commit is contained in:
parent
7aaf25afd3
commit
ada7d700c2
@ -32,7 +32,11 @@ extern const AP_HAL::HAL& hal;
|
||||
const struct LogStructure log_structure[] = {
|
||||
LOG_COMMON_STRUCTURES,
|
||||
{ LOG_CHEK_MSG, sizeof(log_Chek),
|
||||
"CHEK", "QccCLLffff", "TimeUS,Roll,Pitch,Yaw,Lat,Lng,Alt,VN,VE,VD" }
|
||||
"CHEK",
|
||||
"QccCLLffff",
|
||||
"TimeUS,Roll,Pitch,Yaw,Lat,Lng,Alt,VN,VE,VD",
|
||||
"sdddDUmnnn",
|
||||
"FBBBGGB000"}
|
||||
};
|
||||
|
||||
LogReader::LogReader(AP_AHRS &_ahrs, AP_InertialSensor &_ins, AP_Baro &_baro, Compass &_compass, AP_GPS &_gps,
|
||||
|
@ -102,11 +102,11 @@ void ReplayVehicle::load_parameters(void)
|
||||
|
||||
static const struct LogStructure min_log_structure[] = {
|
||||
{ LOG_FORMAT_MSG, sizeof(log_Format),
|
||||
"FMT", "BBnNZ", "Type,Length,Name,Format,Columns" },
|
||||
"FMT", "BBnNZ", "Type,Length,Name,Format,Columns", "-b---", "-----" },
|
||||
{ LOG_PARAMETER_MSG, sizeof(log_Parameter),
|
||||
"PARM", "QNf", "TimeUS,Name,Value" },
|
||||
"PARM", "QNf", "TimeUS,Name,Value", "s--", "F--" },
|
||||
{ LOG_MESSAGE_MSG, sizeof(log_Message),
|
||||
"MSG", "QZ", "TimeUS,Message"},
|
||||
"MSG", "QZ", "TimeUS,Message", "s-", "F-" },
|
||||
};
|
||||
|
||||
void ReplayVehicle::setup(void)
|
||||
|
Loading…
Reference in New Issue
Block a user