mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
SITL: aircraft sends wind to slung payload
This commit is contained in:
parent
c3a6950d6f
commit
77ba7cf04d
@ -798,7 +798,7 @@ void Aircraft::update_dynamics(const Vector3f &rot_accel)
|
|||||||
|
|
||||||
// update slung payload
|
// update slung payload
|
||||||
#if AP_SIM_SLUNGPAYLOAD_ENABLED
|
#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
|
#endif
|
||||||
|
|
||||||
// allow for changes in physics step
|
// allow for changes in physics step
|
||||||
|
Loading…
Reference in New Issue
Block a user