Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: PololuEncoder Pacer mbed GeneralDebouncer
main.h
00001 #pragma once 00002 00003 #include "reckoner.h" 00004 #include "line_tracker.h" 00005 #include "logger.h" 00006 #include "turn_sensor.h" 00007 00008 void loadLineCalibration(); 00009 void doGyroCalibration(); 00010 00011 void waitForSignalToStart(); 00012 void findLineAndCalibrate(); void findLine(); // two alternatives 00013 void followLineToEnd(); 00014 void driveHomeAlmost(); 00015 void finalSettleIn(); 00016 void __attribute__((noreturn)) loggerReportLoop(); 00017 00018 void updateMotorsToFollowLine(); 00019 void updateReckoner(); 00020 void setLeds(bool v1, bool v2, bool v3, bool v4); 00021 float determinant(); 00022 float dotProduct(); 00023 float magnitude(); 00024 void loggerService(); 00025 00026 extern Reckoner reckoner; 00027 extern LineTracker lineTracker; 00028 extern TurnSensor turnSensor; 00029 extern Logger logger;
Generated on Sun Jul 17 2022 15:45:15 by
1.7.2