David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
Diff: main.h
- Revision:
- 28:4374035df5e0
- Parent:
- 24:fc01d9125d3b
- Child:
- 32:83a13b06093c
--- a/main.h Sat Mar 01 01:46:35 2014 +0000 +++ b/main.h Sat Mar 01 03:13:57 2014 +0000 @@ -3,13 +3,16 @@ #include "reckoner.h" #include "line_tracker.h" +void loadCalibration(); + void waitForSignalToStart(); -void findLineAndCalibrate(); void loadCalibrationAndFindLine(); // two alternatives +void findLineAndCalibrate(); void findLine(); // two alternatives void turnRightToFindLine(); void followLineToEnd(); void driveHomeAlmost(); void finalSettleIn(); +void updateMotorsToFollowLine(); void updateReckonerFromEncoders(); float determinant(); float dotProduct();