Skip to content

Commit

Permalink
SITL: aircraft sends wind to slung payload
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 authored and peterbarker committed Sep 6, 2024
1 parent c3a6950 commit 77ba7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/SITL/SIM_Aircraft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77ba7cf

Please sign in to comment.