This program is for an autonomous robot for the competition at the Hochschule Luzern. We are one of the 32 teams. <a href="http://cruisingcrepe.wordpress.com/">http://cruisingcrepe.wordpress.com/</a> 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: <a href="http://www.dis.uniroma1.it/~labrob/pub/papers/Ramsete01.pdf">http://www.dis.uniroma1.it/~labrob/pub/papers/Ramsete01.pdf</a>

Dependencies:   mbed

Fork of autonomousRobotAndroid by Christian Burri

Revision:
23:4d8173c5183b
Parent:
12:235e318a414f
Child:
27:a13ede88e75f
Child:
29:937c74ff040e
--- a/State/State.cpp	Sun May 19 07:35:16 2013 +0000
+++ b/State/State.cpp	Sun May 19 14:39:20 2013 +0000
@@ -141,6 +141,11 @@
     timer.start();
 }
 
+float State::dim( int idx, float f )
+{
+    return (sin(f + float(idx)* 1.0) + 1.0) / 2.0;   // transform value from -1.0 .. 1.0 to 0.0 .. 1.0
+}
+
 void State::run()
 {
     s->millis = timer.read_ms();