Skip to content

Commit 6fddffe

Browse files
committed
mod: roatate: blocking as last param
1 parent a421604 commit 6fddffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino_alvik.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def set_behaviour(self, behaviour: int):
128128
self.packeter.packetC1B(ord('B'), behaviour & 0xFF)
129129
uart.write(self.packeter.msg[0:self.packeter.msg_size])
130130

131-
def rotate(self, angle: float, blocking: bool = True, unit: str = 'deg'):
131+
def rotate(self, angle: float, unit: str = 'deg', blocking: bool = True):
132132
"""
133133
Rotates the robot by given angle
134134
:param angle:

0 commit comments

Comments
 (0)