From 27ff63b86519e246f796fb3deb90f1c07e9f26b2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 14 Aug 2021 13:11:09 +1000 Subject: [PATCH] Rover: added slew rate and Dmod for PID_TUNING message --- Rover/GCS_Mavlink.cpp | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/Rover/GCS_Mavlink.cpp b/Rover/GCS_Mavlink.cpp index 28810a59d8..622fb856e0 100644 --- a/Rover/GCS_Mavlink.cpp +++ b/Rover/GCS_Mavlink.cpp @@ -196,7 +196,9 @@ void GCS_MAVLINK_Rover::send_pid_tuning() pid_info->FF, pid_info->P, pid_info->I, - pid_info->D); + pid_info->D, + pid_info->slew_rate, + pid_info->Dmod); if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { return; } @@ -211,7 +213,9 @@ void GCS_MAVLINK_Rover::send_pid_tuning() pid_info->FF, pid_info->P, pid_info->I, - pid_info->D); + pid_info->D, + pid_info->slew_rate, + pid_info->Dmod); if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { return; } @@ -226,7 +230,9 @@ void GCS_MAVLINK_Rover::send_pid_tuning() pid_info->FF, pid_info->P, pid_info->I, - pid_info->D); + pid_info->D, + pid_info->slew_rate, + pid_info->Dmod); if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { return; } @@ -241,7 +247,9 @@ void GCS_MAVLINK_Rover::send_pid_tuning() pid_info->FF, pid_info->P, pid_info->I, - pid_info->D); + pid_info->D, + pid_info->slew_rate, + pid_info->Dmod); if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { return; } @@ -256,7 +264,9 @@ void GCS_MAVLINK_Rover::send_pid_tuning() pid_info->FF, pid_info->P, pid_info->I, - pid_info->D); + pid_info->D, + pid_info->slew_rate, + pid_info->Dmod); if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { return; } @@ -271,7 +281,9 @@ void GCS_MAVLINK_Rover::send_pid_tuning() pid_info->FF, pid_info->P, pid_info->I, - pid_info->D); + pid_info->D, + pid_info->slew_rate, + pid_info->Dmod); if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) { return; }