Skip to content

Commit

Permalink
Copter: Include landed_gain_reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall committed Apr 24, 2024
1 parent 6e3b783 commit 80db918
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ArduCopter/mode_stabilize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ void ModeStabilize::run()
break;
}

// reduce gains when landed;
attitude_control->landed_gain_reduction(copter.ap.land_complete);

// call attitude controller
attitude_control->input_euler_angle_roll_pitch_euler_rate_yaw(target_roll, target_pitch, target_yaw_rate);

Expand Down

0 comments on commit 80db918

Please sign in to comment.