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:
24:08241be546ba
--- a/State/State.h	Mon May 20 09:41:47 2013 +0000
+++ b/State/State.h	Mon May 20 11:51:33 2013 +0000
@@ -31,7 +31,11 @@
     AnalogIn            battery;
     Timer               timer;
     float               period;
-
+    PwmOut              led1;
+    PwmOut              led2;
+    PwmOut              led3;
+    PwmOut              led4;
+    
 public:
 
     /**
@@ -80,9 +84,10 @@
 
     /**
      * @brief Save the new state to a new line.
+     * @param s struct for logging.
      */
     void savePlotFile(state_t s);
-    
+
     /**
     * Returns the transform a  sinusvalue from -1.0 .. 1.0 to 0.0 .. 1.0
     * @param idx number of LEDS
@@ -92,6 +97,12 @@
     float dim( int idx, float f );
 
     /**
+     * @brief Blink the four LED like KITT
+     * @param wait value for the speed [ms];
+     */
+    void ledArray(float wait);
+
+    /**
      * @brief Run method actualize every period.
      */
     void        run();