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
leds.h@41:3ead1dd2cc3a, 2019-07-25 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Thu Jul 25 03:20:41 2019 +0000
- Revision:
- 41:3ead1dd2cc3a
- Parent:
- 8:78b1ff957cba
Gyro: Add a hacky offset of +6.5 in TurnSensor.cpp. The turn sensor drifts much more slowly now, like maybe 1 degree per minute.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DavidEGrayson | 8:78b1ff957cba | 1 | #pragma once |
DavidEGrayson | 8:78b1ff957cba | 2 | |
DavidEGrayson | 8:78b1ff957cba | 3 | #include <mbed.h> |
DavidEGrayson | 8:78b1ff957cba | 4 | extern DigitalOut led1, led2, led3, led4; |