mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Copter: suggested clean up items
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
This commit is contained in:
parent
805480e5a2
commit
2b95582d22
@ -77,7 +77,7 @@ void ModeStabilize_Heli::run()
|
|||||||
// call attitude controller
|
// call attitude controller
|
||||||
attitude_control->input_euler_angle_roll_pitch_euler_rate_yaw(target_roll, target_pitch, target_yaw_rate);
|
attitude_control->input_euler_angle_roll_pitch_euler_rate_yaw(target_roll, target_pitch, target_yaw_rate);
|
||||||
|
|
||||||
// output pilot's throttle - note that TradHeli does not used angle-boost
|
// output pilot's throttle
|
||||||
attitude_control->set_throttle_out(pilot_throttle_scaled, true, g.throttle_filt);
|
attitude_control->set_throttle_out(pilot_throttle_scaled, true, g.throttle_filt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user