Plane: QTUN df messages angle boost field as float

This commit is contained in:
Randy Mackay 2016-03-25 21:09:59 +09:00
parent f6eabfdab2
commit 52caed2573
2 changed files with 2 additions and 2 deletions

View File

@ -501,7 +501,7 @@ static const struct LogStructure log_structure[] = {
{ LOG_STATUS_MSG, sizeof(log_Status),
"STAT", "QBfBBBBBB", "TimeUS,isFlying,isFlyProb,Armed,Safety,Crash,Still,Stage,Hit" },
{ LOG_QTUN_MSG, sizeof(QuadPlane::log_QControl_Tuning),
"QTUN", "Qhfffehh", "TimeUS,AngBst,ThrOut,DAlt,Alt,BarAlt,DCRt,CRt" },
"QTUN", "Qffffehh", "TimeUS,AngBst,ThrOut,DAlt,Alt,BarAlt,DCRt,CRt" },
#if OPTFLOW == ENABLED
{ LOG_OPTFLOW_MSG, sizeof(log_Optflow),
"OF", "QBffff", "TimeUS,Qual,flowX,flowY,bodyX,bodyY" },

View File

@ -60,7 +60,7 @@ public:
struct PACKED log_QControl_Tuning {
LOG_PACKET_HEADER;
uint64_t time_us;
int16_t angle_boost;
float angle_boost;
float throttle_out;
float desired_alt;
float inav_alt;