Browse Source

SITL: Remove redundant timestep in Airsim backend

master
Rajat Singhal 6 years ago committed by Andrew Tridgell
parent
commit
86a70e5797
  1. 3
      libraries/SITL/SIM_AirSim.cpp

3
libraries/SITL/SIM_AirSim.cpp

@ -322,9 +322,6 @@ void AirSim::update(const struct sitl_input &input) @@ -322,9 +322,6 @@ void AirSim::update(const struct sitl_input &input)
{
send_servos(input);
recv_fdm();
// Airsim takes approximately 3ms between each message (or 333 Hz)
adjust_frame_time(1.0e6/3000);
time_advance();
// update magnetic field
update_mag_field_bf();

Loading…
Cancel
Save