ken fuji / mecanum2017
Revision:
2:678b5128a4d6
Parent:
1:cc63373e84ec
Child:
3:063d7878f0d1
--- a/mecanum2017.cpp	Fri Aug 18 02:07:55 2017 +0000
+++ b/mecanum2017.cpp	Fri Aug 18 02:10:23 2017 +0000
@@ -12,7 +12,7 @@
 /* うごけー */
 void mecanum2017::move(int xdate, int ydate) //xdate, ydateは -64 ~ +64
 {
-    if(xdate == 0 && ydate == 0) stop();
+    if(xdate == 0 && ydate == 0) free();
     double angle = atan2(double(ydate), double(xdate)); //入力の角度
     if(angle == oldangle); //前回と角度が同じだったらそのまま
     else {