SITL: aircraft sends wind to slung payload

This commit is contained in:
Randy Mackay 2024-07-30 20:38:50 +09:00 committed by Peter Barker
parent c3a6950d6f
commit 77ba7cf04d
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ void Aircraft::update_dynamics(const Vector3f &rot_accel)
// update slung payload
#if AP_SIM_SLUNGPAYLOAD_ENABLED
sitl->models.slung_payload_sim.update(get_position_relhome(), velocity_ef, accel_earth);
sitl->models.slung_payload_sim.update(get_position_relhome(), velocity_ef, accel_earth, wind_ef);
#endif
// allow for changes in physics step