From 665ba38cdb08ba27e311e8e8ef1738036c5167c7 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Wed, 13 Sep 2023 14:36:39 +0100 Subject: [PATCH] Plane: update PID logger documentation --- ArduPlane/Log.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ArduPlane/Log.cpp b/ArduPlane/Log.cpp index ac2387a3fb..027453dc59 100644 --- a/ArduPlane/Log.cpp +++ b/ArduPlane/Log.cpp @@ -398,7 +398,8 @@ const struct LogStructure Plane::log_structure[] = { // @Field: FF: controller feed-forward portion of response // @Field: Dmod: scaler applied to D gain to reduce limit cycling // @Field: SRate: slew rate -// @Field: Limit: 1 if I term is limited due to output saturation +// @Field: Flags: bitmask of PID state flags +// @FieldBitmaskEnum: Flags: log_PID_Flags { LOG_PIQR_MSG, sizeof(log_PID), "PIQR", PID_FMT, PID_LABELS, PID_UNITS, PID_MULTS , true }, { LOG_PIQP_MSG, sizeof(log_PID), @@ -420,7 +421,8 @@ const struct LogStructure Plane::log_structure[] = { // @Field: FF: controller feed-forward portion of response // @Field: Dmod: scaler applied to D gain to reduce limit cycling // @Field: SRate: slew rate -// @Field: Limit: 1 if I term is limited due to output saturation +// @Field: Flags: bitmask of PID state flags +// @FieldBitmaskEnum: Flags: log_PID_Flags { LOG_PIDG_MSG, sizeof(log_PID), "PIDG", PID_FMT, PID_LABELS, PID_UNITS, PID_MULTS , true },