From 8f34ed5b7675f7123e2e3145f39c5049fa9b3714 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 24 May 2015 16:08:18 +1000 Subject: [PATCH] DataFlash: added PIDA message for logging Z accel PID in copter --- libraries/DataFlash/DataFlash.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/DataFlash/DataFlash.h b/libraries/DataFlash/DataFlash.h index c279572a94..ac3333f434 100644 --- a/libraries/DataFlash/DataFlash.h +++ b/libraries/DataFlash/DataFlash.h @@ -642,7 +642,9 @@ Format characters in the format string for binary log messages { LOG_PIDP_MSG, sizeof(log_PID), \ "PIDP", "Qffffff", "TimeUS,Des,P,I,D,FF,AFF" }, \ { LOG_PIDY_MSG, sizeof(log_PID), \ - "PIDY", "Qffffff", "TimeUS,Des,P,I,D,FF,AFF" } + "PIDY", "Qffffff", "TimeUS,Des,P,I,D,FF,AFF" } \ + { LOG_PIDA_MSG, sizeof(log_PID), \ + "PIDA", "Qffffff", "TimeUS,Des,P,I,D,FF,AFF" } // messages for more advanced boards #define LOG_EXTRA_STRUCTURES \ @@ -774,6 +776,7 @@ Format characters in the format string for binary log messages #define LOG_PIDR_MSG 179 #define LOG_PIDP_MSG 180 #define LOG_PIDY_MSG 181 +#define LOG_PIDA_MSG 182 // message types 200 to 210 reversed for GPS driver use // message types 211 to 220 reversed for autotune use