AP_Follow: update FOLL log column names

VelN is easier to understand than VelX
Also minor formatting fix
This commit is contained in:
Randy Mackay 2018-07-14 14:37:24 +09:00
parent f53bfdbd38
commit 0834e7ae9b
1 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@ void AP_Follow::handle_msg(const mavlink_message_t &msg)
// log lead's estimated vs reported position // log lead's estimated vs reported position
DataFlash_Class::instance()->Log_Write("FOLL", DataFlash_Class::instance()->Log_Write("FOLL",
"TimeUS,Lat,Lon,Alt,VelX,VelY,VelZ,LatE,LonE,AltE", // labels "TimeUS,Lat,Lon,Alt,VelN,VelE,VelD,LatE,LonE,AltE", // labels
"sDUmnnnDUm", // units "sDUmnnnDUm", // units
"F--B000--B", // mults "F--B000--B", // mults
"QLLifffLLi", // fmt "QLLifffLLi", // fmt
@ -342,7 +342,7 @@ bool AP_Follow::get_offsets_ned(Vector3f &offset) const
{ {
const Vector3f &off = _offset.get(); const Vector3f &off = _offset.get();
// if offsets are zero or type if NED, simply return offset vector // if offsets are zero or type is NED, simply return offset vector
if (off.is_zero() || (_offset_type == AP_FOLLOW_OFFSET_TYPE_NED)) { if (off.is_zero() || (_offset_type == AP_FOLLOW_OFFSET_TYPE_NED)) {
offset = off; offset = off;
return true; return true;