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@47:9773dc14c834, 2019-07-31 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Wed Jul 31 07:14:09 2019 +0000
- Revision:
- 47:9773dc14c834
- Parent:
- 45:81dd782bc0b4
Got some awesome results using carefully calculated scale factors for the gyro!
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 | 45:81dd782bc0b4 | 3 | void __attribute__((noreturn)) testButtons(); |
DavidEGrayson | 10:e4dd36148539 | 4 | void __attribute__((noreturn)) testEncoders(); |
DavidEGrayson | 10:e4dd36148539 | 5 | void __attribute__((noreturn)) testMotors(); |
DavidEGrayson | 39:b19dfc5d4d4b | 6 | void __attribute__((noreturn)) testMotorSpeed(); |
DavidEGrayson | 40:6fa672be85ec | 7 | void __attribute__((noreturn)) testL3g(); |
DavidEGrayson | 42:96671b71aac5 | 8 | void __attribute__((noreturn)) testL3gAndShowAverage(); |
DavidEGrayson | 40:6fa672be85ec | 9 | void __attribute__((noreturn)) testTurnSensor(); |
DavidEGrayson | 12:835a4d24ae3b | 10 | void __attribute__((noreturn)) testReckoner(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 11 | void __attribute__((noreturn)) testDriveHome(); |
DavidEGrayson | 45:81dd782bc0b4 | 12 | void __attribute__((noreturn)) testLineSensorsAndCalibrate(); |
DavidEGrayson | 20:dbec34f0e76b | 13 | void __attribute__((noreturn)) testFinalSettleIn(); |
DavidEGrayson | 28:4374035df5e0 | 14 | void __attribute__((noreturn)) testLineFollowing(); |
DavidEGrayson | 33:58a0ab6e9ad2 | 15 | void __attribute__((noreturn)) testTurnInPlace(); |
DavidEGrayson | 37:23000a47ed2b | 16 | void __attribute__((noreturn)) testCloseness(); |
DavidEGrayson | 37:23000a47ed2b | 17 | void __attribute__((noreturn)) testLogger(); |