Sub: update pid_tuning message

This commit is contained in:
Willian Galvani 2024-01-11 14:48:07 -03:00
parent d1c3ef7e5b
commit 4f762a9763
1 changed files with 12 additions and 4 deletions

View File

@ -171,7 +171,9 @@ void GCS_MAVLINK_Sub::send_pid_tuning()
pid_info.FF*0.01f,
pid_info.P*0.01f,
pid_info.I*0.01f,
pid_info.D*0.01f);
pid_info.D*0.01f,
pid_info.slew_rate,
pid_info.Dmod);
if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) {
return;
}
@ -184,7 +186,9 @@ void GCS_MAVLINK_Sub::send_pid_tuning()
pid_info.FF*0.01f,
pid_info.P*0.01f,
pid_info.I*0.01f,
pid_info.D*0.01f);
pid_info.D*0.01f,
pid_info.slew_rate,
pid_info.Dmod);
if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) {
return;
}
@ -197,7 +201,9 @@ void GCS_MAVLINK_Sub::send_pid_tuning()
pid_info.FF*0.01f,
pid_info.P*0.01f,
pid_info.I*0.01f,
pid_info.D*0.01f);
pid_info.D*0.01f,
pid_info.slew_rate,
pid_info.Dmod);
if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) {
return;
}
@ -210,7 +216,9 @@ void GCS_MAVLINK_Sub::send_pid_tuning()
pid_info.FF*0.01f,
pid_info.P*0.01f,
pid_info.I*0.01f,
pid_info.D*0.01f);
pid_info.D*0.01f,
pid_info.slew_rate,
pid_info.Dmod);
if (!HAVE_PAYLOAD_SPACE(chan, PID_TUNING)) {
return;
}