Browse Source

HAL_SITL: pass turbulence to simulators

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
92c9779d18
  1. 1
      libraries/AP_HAL_SITL/SITL_State.cpp

1
libraries/AP_HAL_SITL/SITL_State.cpp

@ -400,6 +400,7 @@ void SITL_State::_simulator_servos(Aircraft::sitl_input &input) @@ -400,6 +400,7 @@ void SITL_State::_simulator_servos(Aircraft::sitl_input &input)
}
input.wind.speed = wind_speed;
input.wind.direction = _sitl->wind_direction;
input.wind.turbulence = _sitl->wind_turbulance;
for (i=0; i<11; i++) {
if (pwm_output[i] == 0xFFFF) {

Loading…
Cancel
Save