Copter: autotune minor format fix

This commit is contained in:
Randy Mackay 2017-06-21 10:57:57 +09:00
parent 2888096a42
commit 356a405e2d
1 changed files with 1 additions and 1 deletions

View File

@ -937,7 +937,7 @@ void Copter::autotune_attitude_control()
autotune_state.positive_direction = !autotune_state.positive_direction; autotune_state.positive_direction = !autotune_state.positive_direction;
if (autotune_state.axis == AUTOTUNE_AXIS_YAW) { if (autotune_state.axis == AUTOTUNE_AXIS_YAW) {
attitude_control->input_euler_angle_roll_pitch_yaw( 0.0f, 0.0f, ahrs.yaw_sensor, false, get_smoothing_gain()); attitude_control->input_euler_angle_roll_pitch_yaw(0.0f, 0.0f, ahrs.yaw_sensor, false, get_smoothing_gain());
} }
// set gains to their intra-test values (which are very close to the original gains) // set gains to their intra-test values (which are very close to the original gains)