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:
23:4d8173c5183b
Parent:
12:235e318a414f
Child:
27:a13ede88e75f
Child:
38:d76e488e725f
--- a/State/State.h	Sun May 19 07:35:16 2013 +0000
+++ b/State/State.h	Sun May 19 14:39:20 2013 +0000
@@ -82,6 +82,14 @@
      * @brief Save the new state to a new line.
      */
     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
+    * @param f value till 2π
+    * @return sinus value from 0.0f 1.0f
+    */
+    float dim( int idx, float f );
 
     /**
      * @brief Run method actualize every period.