SITL: enable updating of external payload on SIM_Plane

This commit is contained in:
Peter Barker 2019-02-02 08:46:39 +11:00 committed by Randy Mackay
parent 5828915a02
commit ae03ccf2ba
1 changed files with 2 additions and 1 deletions

View File

@ -369,7 +369,8 @@ void Plane::update(const struct sitl_input &input)
calculate_forces(input, rot_accel, accel_body);
update_dynamics(rot_accel);
update_external_payload(input);
// update lat/lon/altitude
update_position();
time_advance();