Skip to content

Commit 2a5b9af

Browse files
committed
firmware fix position control on move and rotate
1 parent f44b776 commit 2a5b9af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/firmware_01/firmware_01.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,13 @@ void loop(){
152152

153153
case 'R':
154154
packeter.unpacketC1F(code, value);
155+
alvik.disablePositionControl();
155156
alvik.rotate(value);
156157
break;
157158

158159
case 'G':
159160
packeter.unpacketC1F(code, value);
161+
alvik.disablePositionControl();
160162
alvik.move(value);
161163
break;
162164

0 commit comments

Comments
 (0)