From 92714b09d2830bfc670d088530a35915c5b97ba7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 30 Apr 2014 21:22:16 +1000 Subject: [PATCH] Plane: added ATRP log header to plane log headers too many people can't understand how to download .bin logs --- ArduPlane/ArduPlane.pde | 1 + ArduPlane/Log.pde | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ArduPlane/ArduPlane.pde b/ArduPlane/ArduPlane.pde index 6c67a04bbf..09b707e849 100644 --- a/ArduPlane/ArduPlane.pde +++ b/ArduPlane/ArduPlane.pde @@ -54,6 +54,7 @@ #include #include +#include #include #include // MAVLink GCS definitions #include // Camera/Antenna mount diff --git a/ArduPlane/Log.pde b/ArduPlane/Log.pde index 5f10593f09..858c115f38 100644 --- a/ArduPlane/Log.pde +++ b/ArduPlane/Log.pde @@ -565,6 +565,8 @@ static const struct LogStructure log_structure[] PROGMEM = { "ARM", "IHB", "TimeMS,ArmState,ArmChecks" }, { LOG_AIRSPEED_MSG, sizeof(log_AIRSPEED), "ARSP", "Iffc", "TimeMS,Airspeed,DiffPress,Temp" }, + { LOG_ATRP_MSG, sizeof(AP_AutoTune::log_ATRP), + "ATRP", "IBBcfff", "TimeMS,Type,State,Servo,Demanded,Achieved,P" }, TECS_LOG_FORMAT(LOG_TECS_MSG) };