Algorithmus

Dependencies:   mbed

Revision:
27:f111ba194412
Parent:
23:accd07ca2da7
--- a/Motion.h	Tue May 15 17:57:59 2018 +0000
+++ b/Motion.h	Tue May 15 18:34:39 2018 +0000
@@ -40,7 +40,8 @@
         static const float  KD;
         static const int    MOVE_DIST;
         static const float  MOVE_SPEED;
-        static const float  SCAN_SPEED;
+        static const float  RUN_SPEED;
+        static const float  TURN_SPEED_LEFT;
         static const float  ROTATE_SPEED;
         static const float  ACCEL_CONST;
         
@@ -81,6 +82,7 @@
         float               actSpeed;
         float               targetSpeed;
         bool                lastMove;
+        bool                speedRun;
     };
     
 #endif /* MOTION_H_ */
\ No newline at end of file