David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
test.h@19:a11ffc903774, 2014-02-25 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Tue Feb 25 02:58:16 2014 +0000
- Revision:
- 19:a11ffc903774
- Parent:
- 17:2df9861f53ee
- Child:
- 20:dbec34f0e76b
Got the robot to get back to its home position and stop.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DavidEGrayson | 9:9734347b5756 | 1 | #pragma once |
DavidEGrayson | 9:9734347b5756 | 2 | |
DavidEGrayson | 10:e4dd36148539 | 3 | void __attribute__((noreturn)) testEncoders(); |
DavidEGrayson | 10:e4dd36148539 | 4 | void __attribute__((noreturn)) testMotors(); |
DavidEGrayson | 12:835a4d24ae3b | 5 | void __attribute__((noreturn)) testLineSensors(); |
DavidEGrayson | 12:835a4d24ae3b | 6 | void __attribute__((noreturn)) testReckoner(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 7 | void __attribute__((noreturn)) testButtons(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 8 | void __attribute__((noreturn)) testDriveHome(); |
DavidEGrayson | 13:bba5b3abd13f | 9 | |
DavidEGrayson | 13:bba5b3abd13f | 10 | // These are actually defined in main.h: |
DavidEGrayson | 13:bba5b3abd13f | 11 | |
DavidEGrayson | 17:2df9861f53ee | 12 | void updateReckonerFromEncoders(); |
DavidEGrayson | 19:a11ffc903774 | 13 | void __attribute__((noreturn)) driveHome(); |
DavidEGrayson | 19:a11ffc903774 | 14 | float determinant(); |