David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
test.h@13:bba5b3abd13f, 2014-02-23 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Sun Feb 23 23:49:58 2014 +0000
- Revision:
- 13:bba5b3abd13f
- Parent:
- 12:835a4d24ae3b
- Child:
- 16:8eaa5bc2bdb1
testReckoner routine works great! I can roll my robot around and it always knows what quadrant it is pointing to and knows what quadrant it is in!
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 | 12:835a4d24ae3b | 7 | |
DavidEGrayson | 12:835a4d24ae3b | 8 | |
DavidEGrayson | 13:bba5b3abd13f | 9 | |
DavidEGrayson | 13:bba5b3abd13f | 10 | // These are actually defined in main.h: |
DavidEGrayson | 13:bba5b3abd13f | 11 | |
DavidEGrayson | 12:835a4d24ae3b | 12 | void updateReckonerFromEncoders(); |