David's line following code from the LVBots competition, 2015.

Dependencies:   GeneralDebouncer Pacer PololuEncoder mbed

Fork of DeadReckoning by David Grayson

Committer:
DavidEGrayson
Date:
Wed Apr 15 21:19:22 2015 +0000
Revision:
46:f11cb4f93aac
Parent:
39:a5e25fd52ff8
Child:
50:517c0f0e621f
got dead reckoning working nicely with the gyro;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DavidEGrayson 21:c279c6a83671 1 #pragma once
DavidEGrayson 21:c279c6a83671 2
DavidEGrayson 21:c279c6a83671 3 #include "reckoner.h"
DavidEGrayson 21:c279c6a83671 4 #include "line_tracker.h"
DavidEGrayson 37:23000a47ed2b 5 #include "logger.h"
DavidEGrayson 46:f11cb4f93aac 6 #include "turn_sensor.h"
DavidEGrayson 21:c279c6a83671 7
DavidEGrayson 28:4374035df5e0 8 void loadCalibration();
DavidEGrayson 28:4374035df5e0 9
DavidEGrayson 21:c279c6a83671 10 void waitForSignalToStart();
DavidEGrayson 39:a5e25fd52ff8 11 void followLineFast();
DavidEGrayson 39:a5e25fd52ff8 12 void updateMotorsToFollowLineFast();
DavidEGrayson 37:23000a47ed2b 13 void __attribute__((noreturn)) loggerReportLoop();
DavidEGrayson 21:c279c6a83671 14
DavidEGrayson 28:4374035df5e0 15 void updateMotorsToFollowLine();
DavidEGrayson 21:c279c6a83671 16 void updateReckonerFromEncoders();
DavidEGrayson 46:f11cb4f93aac 17 void updateReckoner(TurnSensor &);
DavidEGrayson 33:58a0ab6e9ad2 18 void setLeds(bool v1, bool v2, bool v3, bool v4);
DavidEGrayson 21:c279c6a83671 19 float determinant();
DavidEGrayson 21:c279c6a83671 20 float dotProduct();
DavidEGrayson 33:58a0ab6e9ad2 21 float magnitude();
DavidEGrayson 37:23000a47ed2b 22 void loggerService();
DavidEGrayson 46:f11cb4f93aac 23 void waitForSignalToStart();
DavidEGrayson 21:c279c6a83671 24
DavidEGrayson 21:c279c6a83671 25 extern Reckoner reckoner;
DavidEGrayson 21:c279c6a83671 26 extern LineTracker lineTracker;
DavidEGrayson 37:23000a47ed2b 27 extern Logger logger;