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:
Thu Jul 25 03:20:41 2019 +0000
Revision:
41:3ead1dd2cc3a
Parent:
40:6fa672be85ec
Child:
42:96671b71aac5
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?

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 41:3ead1dd2cc3a 8 void __attribute__((noreturn)) testL3gAndCalibrate();
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 29:cfcf08d8ac79 16 void __attribute__((noreturn)) testAnalog();
DavidEGrayson 30:84be2d602dc0 17 void __attribute__((noreturn)) testSensorGlitches();
DavidEGrayson 33:58a0ab6e9ad2 18 void __attribute__((noreturn)) testTurnInPlace();
DavidEGrayson 37:23000a47ed2b 19 void __attribute__((noreturn)) testCloseness();
DavidEGrayson 37:23000a47ed2b 20 void __attribute__((noreturn)) testLogger();