Skip to content

Commit ae5b217

Browse files
committed
Silly bug
1 parent a5d47de commit ae5b217

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
@@ -277,7 +277,7 @@ def turn(self, turn_degrees: float, max_effort: float = 0.5, timeout: float = No
277277
if main_controller.is_done() or time_out.is_done():
278278
break
279279

280-
self.set_speed(-turn_speed - encoder_correction, turn_speed - encoder_correction)
280+
self.set_effort(-turn_speed - encoder_correction, turn_speed - encoder_correction)
281281

282282
time.sleep(0.01)
283283

0 commit comments

Comments
 (0)