AntennaTracker: added slew rate and Dmod for PID_TUNING message

This commit is contained in:
Andrew Tridgell 2021-08-14 13:11:09 +10:00
parent 46287dcb00
commit 7452e9dffb

View File

@ -136,7 +136,9 @@ void GCS_MAVLINK_Tracker::send_pid_tuning()
pid_info->FF, pid_info->FF,
pid_info->P, pid_info->P,
pid_info->I, pid_info->I,
pid_info->D); pid_info->D,
pid_info->slew_rate,
pid_info->Dmod);
if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) {
return; return;
} }
@ -152,7 +154,9 @@ void GCS_MAVLINK_Tracker::send_pid_tuning()
pid_info->FF, pid_info->FF,
pid_info->P, pid_info->P,
pid_info->I, pid_info->I,
pid_info->D); pid_info->D,
pid_info->slew_rate,
pid_info->Dmod);
if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) {
return; return;
} }