Browse Source

SITL: helicopter add update_external_payload() for sensors

gps-1.3.1
Josh Henderson 3 years ago committed by Andrew Tridgell
parent
commit
442cff4c60
  1. 3
      libraries/SITL/SIM_Helicopter.cpp

3
libraries/SITL/SIM_Helicopter.cpp

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

Loading…
Cancel
Save