All the lab works are here!

Dependencies:   ISR_Mini-explorer mbed

Fork of VirtualForces by Georgios Tsamis

Revision:
12:3c0ca2350624
Parent:
11:e641aa08c92e
Child:
13:41f75c132135
--- a/main.cpp	Mon Mar 27 16:34:43 2017 +0000
+++ b/main.cpp	Mon Mar 27 16:40:11 2017 +0000
@@ -6,7 +6,7 @@
 
 float dist(float robot_x, float robot_y, float target_x, float target_y);
 
-int goToPointWithAngle(float target_x, float target_y, int theta);
+int goToPointWithAngle(float target_x, float target_y, float target_angle);
 
 int updateSonarValues();
 
@@ -72,7 +72,7 @@
     return 0;
 }
 
-int goToPointWithAngle(float target_x, float target_y, int theta) {
+int goToPointWithAngle(float target_x, float target_y, float target_angle) {
      do {
         pc.printf("\n\n\r entered while");