From 3e42c8761a1e9226e3999895c810bfb84f5b8ed3 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 30 Jul 2024 20:38:50 +0900 Subject: [PATCH] SITL: aircraft sends wind to slung payload --- libraries/SITL/SIM_Aircraft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/SITL/SIM_Aircraft.cpp b/libraries/SITL/SIM_Aircraft.cpp index 9ca985a14591ab..e3a10152af5d09 100644 --- a/libraries/SITL/SIM_Aircraft.cpp +++ b/libraries/SITL/SIM_Aircraft.cpp @@ -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