This program is for an autonomous robot for the competition at the Hochschule Luzern. http://cruisingcrepe.wordpress.com/ We are one of the 32 teams. http://cruisingcrepe.wordpress.com/ The postition control is based on this Documentation: Control of Wheeled Mobile Robots: An Experimental Overview from Alessandro De Luca, Giuseppe Oriolo, Marilena Vendittelli. For more information see here: http://www.dis.uniroma1.it/~labrob/pub/papers/Ramsete01.pdf

Dependencies:   mbed

Fork of autonomous Robot Android by Christian Burri

Revision:
27:a13ede88e75f
Parent:
21:48248c5b8992
Child:
32:767044a3e421
--- a/MicroBridge/androidADB.cpp	Mon May 20 09:41:47 2013 +0000
+++ b/MicroBridge/androidADB.cpp	Mon May 20 11:51:33 2013 +0000
@@ -10,7 +10,7 @@
 float androidy;
 
 /** @brief Desired position in degrees for theta, given by android */
-float androidt /*= (2 * PI) + 1*/;
+float androidt;
 
 /** @brief Indicates if a ADB connection to a android phone is established */
 boolean androidConnected;
@@ -29,6 +29,13 @@
 {
     return androidt * PI / 180;
 }
+
+void setDesiredTheta(float t)
+{
+    androidt = t;
+}
+
+
 void Tokenize(const string& str,
               vector<string>& tokens,
               const string& delimiters /*= " "*/)