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-03-04
- Revision:
- 31:739b91331f31
- Parent:
- 28:4374035df5e0
- Child:
- 32:83a13b06093c
File content as of revision 31:739b91331f31:
#pragma once #include "reckoner.h" #include "line_tracker.h" void loadCalibration(); void waitForSignalToStart(); void findLineAndCalibrate(); void findLine(); // two alternatives void turnRightToFindLine(); void followLineToEnd(); void driveHomeAlmost(); void finalSettleIn(); void updateMotorsToFollowLine(); void updateReckonerFromEncoders(); float determinant(); float dotProduct(); bool calibrationLooksGood(); extern Reckoner reckoner; extern LineTracker lineTracker;