Algorithmus

Dependencies:   mbed

Revision:
18:3309329d5f42
Parent:
13:845e49f20426
Child:
19:6cd6cc5c8b4c
--- a/Motion.h	Mon May 07 18:28:34 2018 +0000
+++ b/Motion.h	Mon May 07 19:52:54 2018 +0000
@@ -28,7 +28,7 @@
         void    stop();
         void    rotate180();
         void    control();
-        void    runTask(int path[], int task, bool reverse);
+        void    runTask(int path[], int task, bool reverse, int junction);
         int     finish();
         void    accel(float targetSpeed);
 
@@ -71,6 +71,7 @@
         int                 path[];
         int                 task;
         bool                reverse;
+        int                 junction;
         bool                acceleration;
         bool                deceleration;
         int                 line;