Skip to content

Commit 80c61dd

Browse files
committed
move and rotate pids Kp to 4.0
1 parent 576021d commit 80c61dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/definitions/robot_definitions.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ const float MOTOR_RATIO = MOTOR_CPR*MOTOR_GEAR_RATIO;
4141

4242

4343
// Kinematics control
44-
#define ROTATE_KP_DEFAULT 5.0
44+
#define ROTATE_KP_DEFAULT 4.0
4545
#define ROTATE_KI_DEFAULT 0.01
4646
#define ROTATE_KD_DEFAULT 0.001
4747
#define ROTATE_CONTROL_PERIOD 0.02
4848
#define ROTATE_MAX_SPEED 170.0
4949
#define ROTATE_THRESHOLD 1
5050

51-
#define MOVE_KP_DEFAULT 5.0
51+
#define MOVE_KP_DEFAULT 4.0
5252
#define MOVE_KI_DEFAULT 0.01
5353
#define MOVE_KD_DEFAULT 0.001
5454
#define MOVE_CONTROL_PERIOD 0.02

0 commit comments

Comments
 (0)