Browse Source

Plane: QTUN df messages angle boost field as float

mission-4.1.18
Randy Mackay 9 years ago
parent
commit
52caed2573
  1. 2
      ArduPlane/Log.cpp
  2. 2
      ArduPlane/quadplane.h

2
ArduPlane/Log.cpp

@ -501,7 +501,7 @@ static const struct LogStructure log_structure[] = { @@ -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" },

2
ArduPlane/quadplane.h

@ -60,7 +60,7 @@ public: @@ -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;

Loading…
Cancel
Save