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 committed Sep 5, 2024
1 parent 5cfcf46 commit 9e1b335
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 9e1b335

Please sign in to comment.