Dr. Davis and Dr. Dyer special studies robotics project
Dependencies: BSP_DISCO_F469NI LCD_DISCO_F469NI TS_DISCO_F469NI mbed Motordriver
Fork of Configurable_Robots by
Diff: Classes/RobotMVC/RobotController.cpp
- Revision:
- 21:ee2b617cc0e6
- Parent:
- 18:f2a516ad24eb
diff -r 4173e6b7adde -r ee2b617cc0e6 Classes/RobotMVC/RobotController.cpp --- a/Classes/RobotMVC/RobotController.cpp Thu May 11 15:40:01 2017 +0000 +++ b/Classes/RobotMVC/RobotController.cpp Thu May 11 16:20:54 2017 +0000 @@ -62,7 +62,7 @@ } return; case 2://Line Follower - case 3://Object Avoidance + case 3://Object Following case 4://Light Avoidance case 5://TV Remote Control case 6://Wiimote Control @@ -104,9 +104,9 @@ sprintf (buffer, "%d", info); view->writeString(buffer,18); break; - case 3://Object Avoidance + case 3://Object Following sprintf (buffer, "%d", info); - view->writeString(buffer, 15); + view->writeString(buffer, 14); break; case 4://Light Avoidance sprintf (buffer, "L %d R %d", model->checkLight(0), model->checkLight(1));