Browse Source

SITL: enable updating of external payloads for SIM_Rover

master
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
9e7154ccb3
  1. 2
      libraries/SITL/SIM_Rover.cpp

2
libraries/SITL/SIM_Rover.cpp

@ -149,6 +149,8 @@ void SimRover::update(const struct sitl_input &input) @@ -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();

Loading…
Cancel
Save