mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-14 20:58:30 -04:00
Fix TradHeli Collective Yaw Effect bug.
This commit is contained in:
parent
1936261c23
commit
ffc04b7305
@ -427,7 +427,7 @@ void AP_MotorsHeli::move_swash(int16_t roll_out, int16_t pitch_out, int16_t coll
|
|||||||
|
|
||||||
// rudder feed forward based on collective
|
// rudder feed forward based on collective
|
||||||
if( !ext_gyro_enabled ) {
|
if( !ext_gyro_enabled ) {
|
||||||
yaw_offset = collective_yaw_effect * abs(coll_out_scaled - collective_mid);
|
yaw_offset = collective_yaw_effect * abs(coll_out_scaled - throttle_mid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user