diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index 9bffd5fe9a..8362c7ab5d 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -202,7 +202,7 @@ void GCS_MAVLINK_Sub::send_pid_tuning() const AP_PIDInfo &pid_info = sub.pos_control.get_accel_z_pid().get_pid_info(); mavlink_msg_pid_tuning_send(chan, PID_TUNING_ACCZ, pid_info.target*0.01f, - -(ahrs.get_accel_ef_blended().z + GRAVITY_MSS), + -(ahrs.get_accel_ef().z + GRAVITY_MSS), pid_info.FF*0.01f, pid_info.P*0.01f, pid_info.I*0.01f,