Peter Knoben / Movement

Dependents:   kinematics_controlv4 kinematics_control_copyfds Robot_control

Files at this revision

API Documentation at this revision

Comitter:
peterknoben
Date:
Wed Nov 01 11:46:48 2017 +0000
Parent:
0:9c61094ffaac
Child:
2:43a6498000e8
Commit message:
f

Changed in this revision

Movement.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Movement.cpp	Tue Oct 31 14:34:37 2017 +0000
+++ b/Movement.cpp	Wed Nov 01 11:46:48 2017 +0000
@@ -20,7 +20,8 @@
         direction[1]=-1;
     }
     else if(mode==3){
-        //servo
+        direction[0]=0;
+        direction[1]=0;
     }
     else if(mode==4){
         direction[0]=-1;
@@ -31,7 +32,8 @@
         direction[1]=1;
     }
     else if(mode==6){
-        //servo
+        direction[0]=0;
+        direction[1]=0;
     }
     else{
         //Error, unavailable mode