mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Plane: fixed use of VTOL control for missions
horizontal speed was not being setup when doing waypoint missions in VTOL mode
This commit is contained in:
parent
81fe9e15bd
commit
aba60c030e
@ -2367,6 +2367,10 @@ void QuadPlane::setup_target_position(void)
|
||||
// setup vertical speed and acceleration
|
||||
pos_control->set_max_speed_z(-pilot_velocity_z_max, pilot_velocity_z_max);
|
||||
pos_control->set_max_accel_z(pilot_accel_z);
|
||||
|
||||
// setup horizontal speed and acceleration
|
||||
pos_control->set_max_speed_xy(wp_nav->get_default_speed_xy());
|
||||
pos_control->set_max_accel_xy(wp_nav->get_wp_acceleration());
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user