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

Committer:
DavidEGrayson
Date:
Sat Jul 27 22:52:19 2019 +0000
Revision:
43:0e985a58f174
Parent:
42:96671b71aac5
Child:
45:81dd782bc0b4
Changed reckoner to use readings from turnSensor (Gyro) to get its direction vector instead of encoder ticks.

Who changed what in which revision?

UserRevisionLine numberNew 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 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)) testButtons();
DavidEGrayson 16:8eaa5bc2bdb1 12 void __attribute__((noreturn)) testDriveHome();
DavidEGrayson 20:dbec34f0e76b 13 void __attribute__((noreturn)) testFinalSettleIn();
DavidEGrayson 28:4374035df5e0 14 void __attribute__((noreturn)) testCalibrate();
DavidEGrayson 28:4374035df5e0 15 void __attribute__((noreturn)) testLineFollowing();
DavidEGrayson 33:58a0ab6e9ad2 16 void __attribute__((noreturn)) testTurnInPlace();
DavidEGrayson 37:23000a47ed2b 17 void __attribute__((noreturn)) testCloseness();
DavidEGrayson 37:23000a47ed2b 18 void __attribute__((noreturn)) testLogger();