David's dead reckoning code for the LVBots competition on March 6th. Uses the mbed LPC1768, DRV8835, QTR-3RC, and two DC motors with encoders.
Dependencies: PololuEncoder Pacer mbed GeneralDebouncer
test.h@16:8eaa5bc2bdb1, 2014-02-24 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Mon Feb 24 01:26:00 2014 +0000
- Revision:
- 16:8eaa5bc2bdb1
- Parent:
- 13:bba5b3abd13f
- Child:
- 17:2df9861f53ee
Got debounced button pressing to work.
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 | 12:835a4d24ae3b | 12 | void updateReckonerFromEncoders(); |