David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
main.h
- Committer:
- DavidEGrayson
- Date:
- 2014-02-28
- Revision:
- 24:fc01d9125d3b
- Parent:
- 22:44c032e59ff5
- Child:
- 28:4374035df5e0
File content as of revision 24:fc01d9125d3b:
#pragma once #include "reckoner.h" #include "line_tracker.h" void waitForSignalToStart(); void findLineAndCalibrate(); void loadCalibrationAndFindLine(); // two alternatives void turnRightToFindLine(); void followLineToEnd(); void driveHomeAlmost(); void finalSettleIn(); void updateReckonerFromEncoders(); float determinant(); float dotProduct(); bool calibrationLooksGood(); extern Reckoner reckoner; extern LineTracker lineTracker;