Skip to content

Commit 411fbc4

Browse files
committed
Improved tuning for turning secondary controler
1 parent 81fe0e2 commit 411fbc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XRPLib/differential_drive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def turn(self, turn_degrees: float, max_effort: float = 0.5, timeout: float = No
253253
# Secondary controller to keep encoder values in sync
254254
if secondary_controller is None:
255255
secondary_controller = PID(
256-
kp = 0.2,
256+
kp = 0.5,
257257
)
258258

259259
if use_imu and (self.imu is not None):

0 commit comments

Comments
 (0)