mirror of https://github.com/ArduPilot/ardupilot
HAL_SITL: pass turbulence to simulators
This commit is contained in:
parent
1a9cdac441
commit
92c9779d18
|
@ -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…
Reference in New Issue