SITL: enable updating of external payloads for SIM_Rover

This commit is contained in:
Peter Barker 2019-02-08 10:46:26 +11:00 committed by Randy Mackay
parent e7e51d6f49
commit 9e7154ccb3
1 changed files with 2 additions and 0 deletions

View File

@ -149,6 +149,8 @@ void SimRover::update(const struct sitl_input &input)
// new position vector
position += velocity_ef * delta_time;
update_external_payload(input);
// update lat/lon/altitude
update_position();
time_advance();