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
Diff: main.h
- Revision:
- 33:58a0ab6e9ad2
- Parent:
- 32:83a13b06093c
- Child:
- 37:23000a47ed2b
diff -r 83a13b06093c -r 58a0ab6e9ad2 main.h --- a/main.h Tue Mar 04 04:32:51 2014 +0000 +++ b/main.h Wed Mar 05 02:50:09 2014 +0000 @@ -14,8 +14,10 @@ void updateMotorsToFollowLine(); void updateReckonerFromEncoders(); +void setLeds(bool v1, bool v2, bool v3, bool v4); float determinant(); float dotProduct(); +float magnitude(); extern Reckoner reckoner; extern LineTracker lineTracker;