Projectgroep 20 Biorobotics / Mbed 2 deprecated DEMO_en_autodemo

Dependencies:   Encoder MODSERIAL mbed

Fork of DEMO by Annelotte Bex

Revision:
5:9651c3f7602b
Parent:
4:836d7f9ac0ca
Child:
6:9943f69ff668
--- a/main.cpp	Thu Nov 02 11:29:50 2017 +0000
+++ b/main.cpp	Thu Nov 02 11:47:56 2017 +0000
@@ -210,13 +210,17 @@
 {
     if (autodemo_done == 0)
     {
-    AutoSetpointRobotForward ();       //verander de se
+    SetPx = 0.38 + 0.15;
+    SetPy = 0.30; 
     MeasureAndControl ();
-    AutoSetpointRobotHome ();
+    SetPx = 0.38;
+    SetPy = 0.30; 
     MeasureAndControl ();   
-    AutoSetpointRobotDown ();
+    SetPx = 0.38;
+    SetPy = 0.30 - 0.30; 
     MeasureAndControl ();
-    AutoSetpointRobotHome ();
+    SetPx = 0.38;
+    SetPy = 0.30; 
     MeasureAndControl ();
     autodemo_done = true;
     }