Eindelijk!!!!!

Dependents:   ShowIt

Fork of Movement by Peter Knoben

Files at this revision

API Documentation at this revision

Comitter:
DBerendsen
Date:
Thu Nov 02 10:17:17 2017 +0000
Parent:
4:c81764efe40d
Commit message:
Eerste keer super mooi werkend;

Changed in this revision

Movement.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r c81764efe40d -r d13de19a1eea Movement.cpp
--- a/Movement.cpp	Wed Nov 01 22:46:38 2017 +0000
+++ b/Movement.cpp	Thu Nov 02 10:17:17 2017 +0000
@@ -44,7 +44,7 @@
     float position_math_left;
     switch(SignalNumber){
         case 1: //Move slowest
-            movement_left = directionLeft*0.25;
+            movement_left = directionLeft*0.5;
             position_math_left = positionLeft + movement_left;
             if (position_math_left >= max_range || position_math_left <=0){
                 positionLeft = positionLeft;
@@ -54,7 +54,7 @@
             }
             break;
         case 2: //Move slow
-            movement_left = directionLeft *1;
+            movement_left = directionLeft *1.5;
             position_math_left = positionLeft + movement_left;
             if (position_math_left >= max_range || position_math_left <=0){
                 positionLeft = positionLeft;