mirror of https://github.com/ArduPilot/ardupilot
Copter: autotune minor format fix
This commit is contained in:
parent
2888096a42
commit
356a405e2d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue