robot code for summer school

Dependencies:   PM2_Libary Eigen

Fork of PM2_Example_Summer_School by Alex Hawkins

Branch:
distance-sensor
Revision:
70:0e9e3c6223d1
Parent:
68:61aad0993a29
Child:
72:9325748d2d02
--- a/Robot_Library/robot.h	Mon May 30 11:16:34 2022 +0200
+++ b/Robot_Library/robot.h	Mon May 30 11:19:11 2022 +0200
@@ -21,7 +21,8 @@
             IDLE, 
             FOLLOWING_LINE,
             RIGHT_TURN_90,
-            LEFT_TURN_90
+            LEFT_TURN_90,
+            AVOIDING_OBSTACLE,
         };
         
         MovementStates state;
@@ -32,6 +33,7 @@
         void FollowingLine(); // takes in rotational velocity?
         void LeftTurn_90();
         void RightTurn_90();
+        void AvoidObstacle();
 
         //PID