Copter: change acro to use modified attitude_control functions

This commit is contained in:
Jonathan Challinger 2015-11-24 16:21:40 -08:00 committed by Randy Mackay
parent 06c8457efd
commit b906767a45

View File

@ -125,7 +125,7 @@ void Copter::get_pilot_desired_angle_rates(int16_t roll_in, int16_t pitch_in, in
}
// convert earth-frame level rates to body-frame level rates
attitude_control.frame_conversion_ef_to_bf(rate_ef_level, rate_bf_level);
attitude_control.euler_derivative_to_ang_vel(attitude_control.angle_ef_targets()*radians(0.01f), rate_ef_level, rate_bf_level);
// combine earth frame rate corrections with rate requests
if (g.acro_trainer == ACRO_TRAINER_LIMITED) {