Code to run the microcontrollers on the R5 competition bot
Dependencies: LineSensors mbed
Diff: DriveController.h
- Revision:
- 12:edcae0f36e9c
- Parent:
- 10:210c8f1e3a92
- Child:
- 13:aa6f64c73271
--- a/DriveController.h Mon Nov 03 16:53:44 2014 +0000 +++ b/DriveController.h Fri Nov 14 18:51:04 2014 +0000 @@ -27,8 +27,9 @@ void move(char direction = 'F'); void getCommand(); void rotate(char direction); + void spinTest(); void sendComplete(); - int calculateError(); + double calculateError(); bool intersection(); public: