Skip to content

Commit

Permalink
Added yaw_damper to the climb portion of flight.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandareid committed May 18, 2024
1 parent fcc6099 commit d4ac72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosplane/src/controller_successive_loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void controller_successive_loop::climb_lateral_control(const struct input_s & in
// Maintain straight flight while gaining altitude.
output.phi_c = 0;
output.delta_a = roll_hold(output.phi_c, input.phi, input.p);
output.delta_r = 0.0; //yaw_damper(input.r, params);
output.delta_r = yaw_damper(input.r);
}

void controller_successive_loop::climb_longitudinal_control(const struct input_s & input,
Expand Down

0 comments on commit d4ac72e

Please sign in to comment.