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@40:6fa672be85ec, 2019-07-25 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Thu Jul 25 02:53:34 2019 +0000
- Revision:
- 40:6fa672be85ec
- Parent:
- 39:b19dfc5d4d4b
- Child:
- 41:3ead1dd2cc3a
Add TurnSensor and L3G code but I am not happy with how the Gyro drifts a degree every few seconds or so.
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 | 39:b19dfc5d4d4b | 5 | void __attribute__((noreturn)) testMotorSpeed(); |
DavidEGrayson | 12:835a4d24ae3b | 6 | void __attribute__((noreturn)) testLineSensors(); |
DavidEGrayson | 40:6fa672be85ec | 7 | void __attribute__((noreturn)) testL3g(); |
DavidEGrayson | 40:6fa672be85ec | 8 | void __attribute__((noreturn)) testTurnSensor(); |
DavidEGrayson | 12:835a4d24ae3b | 9 | void __attribute__((noreturn)) testReckoner(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 10 | void __attribute__((noreturn)) testButtons(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 11 | void __attribute__((noreturn)) testDriveHome(); |
DavidEGrayson | 20:dbec34f0e76b | 12 | void __attribute__((noreturn)) testFinalSettleIn(); |
DavidEGrayson | 28:4374035df5e0 | 13 | void __attribute__((noreturn)) testCalibrate(); |
DavidEGrayson | 28:4374035df5e0 | 14 | void __attribute__((noreturn)) testLineFollowing(); |
DavidEGrayson | 29:cfcf08d8ac79 | 15 | void __attribute__((noreturn)) testAnalog(); |
DavidEGrayson | 30:84be2d602dc0 | 16 | void __attribute__((noreturn)) testSensorGlitches(); |
DavidEGrayson | 33:58a0ab6e9ad2 | 17 | void __attribute__((noreturn)) testTurnInPlace(); |
DavidEGrayson | 37:23000a47ed2b | 18 | void __attribute__((noreturn)) testCloseness(); |
DavidEGrayson | 37:23000a47ed2b | 19 | void __attribute__((noreturn)) testLogger(); |