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
pc_serial.h@43:0e985a58f174, 2019-07-27 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Sat Jul 27 22:52:19 2019 +0000
- Revision:
- 43:0e985a58f174
- Parent:
- 8:78b1ff957cba
Changed reckoner to use readings from turnSensor (Gyro) to get its direction vector instead of encoder ticks.
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 Serial pc; |