Zürcher Eliteeinheit / Mbed 2 deprecated ROME2_P4

Dependencies:   ROME2_P2 mbed

Fork of ROME2_P3 by Zürcher Eliteeinheit

Revision:
3:9433326c2248
Parent:
2:13da48f33ab7
Child:
4:4428ede9beee
--- a/StateMachine.cpp	Fri Mar 16 15:17:08 2018 +0000
+++ b/StateMachine.cpp	Fri Mar 16 19:44:20 2018 +0000
@@ -98,12 +98,10 @@
                     controller.setTranslationalVelocity(0);
                     controller.setRotationalVelocity(ROTATIONAL_VELOCITY);
                 }
-          /*  else if(led)
+          /*  else if(led)/// touch fwd sensor first recude velocity! TODO arber and sommer 
                 {
                     
-                    state = TURN_RIGHT;
-                    controller.setTranslationalVelocity(0);
-                    controller.setRotationalVelocity(-0.5f);
+                    controller.setTranslationalVelocity(TRANSLATIONAL_VELOCITY/4);
                 }
                 */