David's line following code from the LVBots competition, 2015.
Dependencies: GeneralDebouncer Pacer PololuEncoder mbed
Fork of DeadReckoning by
main.h
- Committer:
- DavidEGrayson
- Date:
- 2015-04-16
- Revision:
- 55:05c8f439497d
- Parent:
- 52:05a8e919ddb0
File content as of revision 55:05c8f439497d:
#pragma once #include "reckoner.h" #include "line_tracker.h" #include "logger.h" #include "turn_sensor.h" void loadCalibration(); void waitForSignalToStart(); void followLineFast(); void updateMotorsToFollowLineFast(int16_t drivingSpeed); void updateMotorsToFollowLineSlow(); void __attribute__((noreturn)) loggerReportLoop(); void updateReckonerFromEncoders(); void updateReckoner(TurnSensor &); void setLeds(bool v1, bool v2, bool v3, bool v4); float determinant(); float dotProduct(); float magnitude(); void loggerService(); void waitForSignalToStart(); void followLineSmart(); extern Reckoner reckoner; extern LineTracker lineTracker; extern Logger logger; extern TurnSensor turnSensor;