Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Increase k-factor for angular control.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Jun 19, 2024
1 parent fd5c275 commit 437eada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void Node::ctrl_loop()

auto const yaw_angular_vel_error = (_yaw_angular_vel_target - _yaw_angular_vel_actual);

double const k = 0.01;
double const k = 0.1;
double const pid_res = k * yaw_angular_vel_error.numerical_value_in(deg/s);

auto const motor_vel_lower_limit = motor_base_vel - 0.2 * m/s;
Expand Down

0 comments on commit 437eada

Please sign in to comment.