mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Logger: log rally point flags field
This commit is contained in:
parent
9ed5dfc768
commit
1bfe83bb63
@ -519,7 +519,8 @@ bool AP_Logger_Backend::Write_RallyPoint(uint8_t total,
|
|||||||
sequence : sequence,
|
sequence : sequence,
|
||||||
latitude : rally_point.lat,
|
latitude : rally_point.lat,
|
||||||
longitude : rally_point.lng,
|
longitude : rally_point.lng,
|
||||||
altitude : rally_point.alt
|
altitude : rally_point.alt,
|
||||||
|
flags : rally_point.flags
|
||||||
};
|
};
|
||||||
return WriteBlock(&pkt_rally, sizeof(pkt_rally));
|
return WriteBlock(&pkt_rally, sizeof(pkt_rally));
|
||||||
}
|
}
|
||||||
|
@ -548,6 +548,7 @@ struct PACKED log_Rally {
|
|||||||
int32_t latitude;
|
int32_t latitude;
|
||||||
int32_t longitude;
|
int32_t longitude;
|
||||||
int16_t altitude;
|
int16_t altitude;
|
||||||
|
uint8_t flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct PACKED log_Performance {
|
struct PACKED log_Performance {
|
||||||
@ -968,6 +969,7 @@ struct PACKED log_VER {
|
|||||||
// @Field: Lat: latitude of rally point
|
// @Field: Lat: latitude of rally point
|
||||||
// @Field: Lng: longitude of rally point
|
// @Field: Lng: longitude of rally point
|
||||||
// @Field: Alt: altitude of rally point
|
// @Field: Alt: altitude of rally point
|
||||||
|
// @Field: Flags: altitude frame flags
|
||||||
|
|
||||||
// @LoggerMessage: RCI2
|
// @LoggerMessage: RCI2
|
||||||
// @Description: (More) RC input channels to vehicle
|
// @Description: (More) RC input channels to vehicle
|
||||||
@ -1286,7 +1288,7 @@ LOG_STRUCTURE_FROM_FENCE \
|
|||||||
{ LOG_DF_FILE_STATS, sizeof(log_DSF), \
|
{ LOG_DF_FILE_STATS, sizeof(log_DSF), \
|
||||||
"DSF", "QIHIIII", "TimeUS,Dp,Blk,Bytes,FMn,FMx,FAv", "s--b---", "F--0---" }, \
|
"DSF", "QIHIIII", "TimeUS,Dp,Blk,Bytes,FMn,FMx,FAv", "s--b---", "F--0---" }, \
|
||||||
{ LOG_RALLY_MSG, sizeof(log_Rally), \
|
{ LOG_RALLY_MSG, sizeof(log_Rally), \
|
||||||
"RALY", "QBBLLh", "TimeUS,Tot,Seq,Lat,Lng,Alt", "s--DUm", "F--GGB" }, \
|
"RALY", "QBBLLhB", "TimeUS,Tot,Seq,Lat,Lng,Alt,Flags", "s--DUm-", "F--GGB-" }, \
|
||||||
{ LOG_MAV_MSG, sizeof(log_MAV), \
|
{ LOG_MAV_MSG, sizeof(log_MAV), \
|
||||||
"MAV", "QBHHHBHH", "TimeUS,chan,txp,rxp,rxdp,flags,ss,tf", "s#----s-", "F-000-C-" }, \
|
"MAV", "QBHHHBHH", "TimeUS,chan,txp,rxp,rxdp,flags,ss,tf", "s#----s-", "F-000-C-" }, \
|
||||||
LOG_STRUCTURE_FROM_VISUALODOM \
|
LOG_STRUCTURE_FROM_VISUALODOM \
|
||||||
|
Loading…
Reference in New Issue
Block a user