ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot by ECE4333 - 2018 - Ahmed & Brandon

Files at this revision

API Documentation at this revision

Comitter:
asobhy
Date:
Sat Mar 03 00:33:41 2018 +0000
Parent:
11:9135e5bc2fcf
Child:
13:2a00b7a6f4bd
Commit message:
robot vision two motors debug final

Changed in this revision

ui.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/ui.cpp	Sat Mar 03 00:08:16 2018 +0000
+++ b/ui.cpp	Sat Mar 03 00:33:41 2018 +0000
@@ -35,7 +35,7 @@
 extern int32_t e;
 extern int32_t xState;
 extern int32_t u;
-extern int time_passed;
+//extern int time_passed;
 */
 
 int16_t position;
@@ -164,6 +164,7 @@
                 setpointR = 280;
             }
             setpointR_mutex.unlock();
+            bluetooth.printf("\r\n %5d", setpointR);
         }
 
         // if s is pressed decrease the speed
@@ -193,7 +194,7 @@
                 setpointL = 280;
             }
             setpointL_mutex.unlock();
-            
+            bluetooth.printf("\r\n %5d", setpointL);
         }
         else if (x=='k')
         {