zhaw_st16b_pes2_10 / Mbed 2 deprecated PES_Official

Dependencies:   mbed Servo ServoArm

Fork of PES_Yanick by zhaw_st16b_pes2_10

Files at this revision

API Documentation at this revision

Comitter:
beacon
Date:
Wed Mar 22 13:33:07 2017 +0000
Parent:
2:01e9de508316
Child:
4:67d7177c213f
Commit message:
Official

Changed in this revision

Headers/Robot.h Show annotated file Show diff for this revision Revisions of this file
Sources/Robot.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Headers/Robot.h	Tue Mar 21 13:12:54 2017 +0000
+++ b/Headers/Robot.h	Wed Mar 22 13:33:07 2017 +0000
@@ -21,7 +21,7 @@
 #define RED -1
 
 //Misc:
-#define TIMEOUT 20
+#define TIMEOUT 5
 
 
 /* Declarations for the Motors in the Robot in order to drive -------- */
--- a/Sources/Robot.cpp	Tue Mar 21 13:12:54 2017 +0000
+++ b/Sources/Robot.cpp	Wed Mar 22 13:33:07 2017 +0000
@@ -66,7 +66,7 @@
     int rando;
     
     if (*counter >= 5) {
-        t->reset();
+        //t->reset();
         
         rando = rand() % 2;
         while (this->sensors[FWD] < NEAR){