Plane: quadplane provides dt to AC_WPNav::set_pilot_desired_acceleration

This commit is contained in:
Randy Mackay 2018-02-03 11:57:13 +09:00
parent a0a9a68fbc
commit 03c162432e

View File

@ -946,7 +946,8 @@ void QuadPlane::control_loiter()
// process pilot's roll and pitch input
wp_nav->set_pilot_desired_acceleration(plane.channel_roll->get_control_in(),
plane.channel_pitch->get_control_in());
plane.channel_pitch->get_control_in(),
plane.G_Dt);
// Update EKF speed limit - used to limit speed when we are using optical flow
float ekfGndSpdLimit, ekfNavVelGainScaler;