Skip to content

Commit a8fb172

Browse files
committed
Differential drive max_effort in straight function re-enabled
1 parent 272bb7c commit a8fb172

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
@@ -155,7 +155,7 @@ def straight(self, distance: float, max_effort: float = 0.5, timeout: float = No
155155
ki = 0.0125,
156156
kd = 0.025,
157157
min_output = 0.225,
158-
max_output = 0.5,
158+
max_output = max_effort,
159159
max_integral = 35,
160160
tolerance = 0.1,
161161
tolerance_count = 3,

0 commit comments

Comments
 (0)