Plane: add limit to pid log metadata

This commit is contained in:
Peter Hall 2021-01-02 18:52:39 +00:00 committed by Andrew Tridgell
parent 1a14c8a05b
commit 0c68ec7b5c

View File

@ -395,6 +395,7 @@ const struct LogStructure Plane::log_structure[] = {
// @Field: D: derivative part of PID // @Field: D: derivative part of PID
// @Field: FF: controller feed-forward portion of response // @Field: FF: controller feed-forward portion of response
// @Field: Dmod: scaler applied to D gain to reduce limit cycling // @Field: Dmod: scaler applied to D gain to reduce limit cycling
// @Field: Limit: 1 if I term is limited due to output saturation
{ LOG_PIQR_MSG, sizeof(log_PID), { LOG_PIQR_MSG, sizeof(log_PID),
"PIQR", PID_FMT, PID_LABELS, PID_UNITS, PID_MULTS }, "PIQR", PID_FMT, PID_LABELS, PID_UNITS, PID_MULTS },
{ LOG_PIQP_MSG, sizeof(log_PID), { LOG_PIQP_MSG, sizeof(log_PID),
@ -415,6 +416,7 @@ const struct LogStructure Plane::log_structure[] = {
// @Field: D: derivative part of PID // @Field: D: derivative part of PID
// @Field: FF: controller feed-forward portion of response // @Field: FF: controller feed-forward portion of response
// @Field: Dmod: scaler applied to D gain to reduce limit cycling // @Field: Dmod: scaler applied to D gain to reduce limit cycling
// @Field: Limit: 1 if I term is limited due to output saturation
{ LOG_PIDG_MSG, sizeof(log_PID), { LOG_PIDG_MSG, sizeof(log_PID),
"PIDG", PID_FMT, PID_LABELS, PID_UNITS, PID_MULTS }, "PIDG", PID_FMT, PID_LABELS, PID_UNITS, PID_MULTS },