mirror of https://github.com/ArduPilot/ardupilot
AC_AttControl: remove resolved To-Do
This To-Do is resolved by heli flight modes calling the relax_bf_rate_controller method
This commit is contained in:
parent
7f734f38d6
commit
a662f87ffb
|
@ -423,8 +423,6 @@ void AC_AttitudeControl::update_ef_roll_angle_and_error(float roll_rate_ef, Vect
|
|||
angle_ef_error.x = wrap_180_cd(_angle_ef_target.x - _ahrs.roll_sensor);
|
||||
angle_ef_error.x = constrain_float(angle_ef_error.x, -AC_ATTITUDE_RATE_STAB_ROLL_OVERSHOOT_ANGLE_MAX, AC_ATTITUDE_RATE_STAB_ROLL_OVERSHOOT_ANGLE_MAX);
|
||||
|
||||
// To-Do: handle check for traditional heli's motors.motor_runup_complete
|
||||
|
||||
// update roll angle target to be within max angle overshoot of our roll angle
|
||||
_angle_ef_target.x = angle_ef_error.x + _ahrs.roll_sensor;
|
||||
|
||||
|
@ -441,8 +439,6 @@ void AC_AttitudeControl::update_ef_pitch_angle_and_error(float pitch_rate_ef, Ve
|
|||
angle_ef_error.y = wrap_180_cd(_angle_ef_target.y - _ahrs.pitch_sensor);
|
||||
angle_ef_error.y = constrain_float(angle_ef_error.y, -AC_ATTITUDE_RATE_STAB_PITCH_OVERSHOOT_ANGLE_MAX, AC_ATTITUDE_RATE_STAB_PITCH_OVERSHOOT_ANGLE_MAX);
|
||||
|
||||
// To-Do: handle check for traditional heli's motors.motor_runup_complete
|
||||
|
||||
// update pitch angle target to be within max angle overshoot of our pitch angle
|
||||
_angle_ef_target.y = angle_ef_error.y + _ahrs.pitch_sensor;
|
||||
|
||||
|
|
Loading…
Reference in New Issue