robot code for summer school

Dependencies:   PM2_Libary Eigen

Fork of PM2_Example_Summer_School by Alex Hawkins

Revision:
78:d53f1d68ca65
Parent:
77:19cf9072bc22
--- a/Robot_Library/robot.h	Wed Jun 01 08:18:10 2022 +0200
+++ b/Robot_Library/robot.h	Wed Jun 01 16:18:25 2022 +0200
@@ -20,7 +20,7 @@
             INITIAL, 
             IDLE, 
             FOLLOWING_LINE,
-            TARGETING,
+            // TARGETING,
             AVOIDING_OBSTACLE,
         };
         
@@ -30,7 +30,7 @@
         void Initial();
         void Idle();
         void FollowingLine(); // takes in rotational velocity?
-        void MoveToTarget();
+        // void MoveToTarget();
         void AvoidObstacle();
 
         //PID
@@ -92,12 +92,12 @@
         Eigen::Vector2f robot_speed_actual;     // Measured robot speed
 
         // tracking
-        float theta;
-        float target_theta;
-        float robot_x;
-        float target_x;
-        float robot_y;
-        float target_y;
+        // float theta;
+        // float target_theta;
+        // float robot_x;
+        // float target_x;
+        // float robot_y;
+        // float target_y;
 };
 
 #endif
\ No newline at end of file