Rover: 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 4c1700d195
commit 27ff63b865

View File

@ -196,7 +196,9 @@ void GCS_MAVLINK_Rover::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;
} }
@ -211,7 +213,9 @@ void GCS_MAVLINK_Rover::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;
} }
@ -226,7 +230,9 @@ void GCS_MAVLINK_Rover::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;
} }
@ -241,7 +247,9 @@ void GCS_MAVLINK_Rover::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;
} }
@ -256,7 +264,9 @@ void GCS_MAVLINK_Rover::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;
} }
@ -271,7 +281,9 @@ void GCS_MAVLINK_Rover::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;
} }