Skip to content

Commit d58ae5d

Browse files
committed
Turn max_effort reset back to 0.5
1 parent a8fb172 commit d58ae5d

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
@@ -205,7 +205,7 @@ def straight(self, distance: float, max_effort: float = 0.5, timeout: float = No
205205
return not time_out.is_done()
206206

207207

208-
def turn(self, turn_degrees: float, max_effort: float = 40, timeout: float = None, main_controller: Controller = None, secondary_controller: Controller = None, use_imu:bool = True) -> bool:
208+
def turn(self, turn_degrees: float, max_effort: float = 0.5, timeout: float = None, main_controller: Controller = None, secondary_controller: Controller = None, use_imu:bool = True) -> bool:
209209
"""
210210
Turn the robot some relative heading given in turnDegrees, and exit function when the robot has reached that heading.
211211
effort is bounded from -1 (turn counterclockwise the relative heading at full speed) to 1 (turn clockwise the relative heading at full speed)

0 commit comments

Comments
 (0)