HAL_SITL: pass turbulence to simulators

This commit is contained in:
Andrew Tridgell 2015-06-29 11:25:44 +10:00
parent 1a9cdac441
commit 92c9779d18
1 changed files with 1 additions and 0 deletions

View File

@ -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) {