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:
32:83a13b06093c
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 8:78b1ff957cba 1 #pragma once
DavidEGrayson 8:78b1ff957cba 2
DavidEGrayson 9:9734347b5756 3 void motorsInit();
DavidEGrayson 9:9734347b5756 4 void motorsSpeedSet(int16_t motorLeftSpeed, int16_t motorRightSpeed);
DavidEGrayson 32:83a13b06093c 5
DavidEGrayson 32:83a13b06093c 6 extern int16_t motorLeftSpeed, motorRightSpeed;