mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
Copter: Tradheli- removes suppression of hover_trim_roll on auto takeoff
This commit is contained in:
parent
3c432cf25c
commit
3869507839
@ -159,10 +159,6 @@ void Copter::Mode::auto_takeoff_attitude_run(float target_yaw_rate)
|
|||||||
// we haven't reached the takeoff navigation altitude yet
|
// we haven't reached the takeoff navigation altitude yet
|
||||||
nav_roll = 0;
|
nav_roll = 0;
|
||||||
nav_pitch = 0;
|
nav_pitch = 0;
|
||||||
#if FRAME_CONFIG == HELI_FRAME
|
|
||||||
// prevent hover roll starting till past specified altitude
|
|
||||||
copter.hover_roll_trim_scalar_slew = 0;
|
|
||||||
#endif
|
|
||||||
// tell the position controller that we have limited roll/pitch demand to prevent integrator buildup
|
// tell the position controller that we have limited roll/pitch demand to prevent integrator buildup
|
||||||
pos_control->set_limit_accel_xy();
|
pos_control->set_limit_accel_xy();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user