Robot code for searching an object and charging at it.
Dependencies: HCSR04 Motor mbed
Diff: main.cpp
- Revision:
- 29:977f47331d85
- Parent:
- 27:96a0ff2f474c
- Parent:
- 28:71781431b010
- Child:
- 30:8a5570b2de68
- Child:
- 31:70753d91565c
--- a/main.cpp Sun Jun 07 17:30:06 2015 +0000 +++ b/main.cpp Sun Jun 07 17:34:17 2015 +0000 @@ -111,7 +111,6 @@ wait(1.5); detect_l = 0; break; - // If line is detected from back just keep on moving forward } }