David's dead reckoning code for the LVBots competition on March 6th. Uses the mbed LPC1768, DRV8835, QTR-3RC, and two DC motors with encoders.

Dependencies:   PololuEncoder Pacer mbed GeneralDebouncer

test.h

Committer:
DavidEGrayson
Date:
2014-02-27
Revision:
20:dbec34f0e76b
Parent:
19:a11ffc903774
Child:
21:c279c6a83671

File content as of revision 20:dbec34f0e76b:

#pragma once

void __attribute__((noreturn)) testEncoders();
void __attribute__((noreturn)) testMotors();
void __attribute__((noreturn)) testLineSensors();
void __attribute__((noreturn)) testReckoner();
void __attribute__((noreturn)) testButtons();
void __attribute__((noreturn)) testDriveHome();
void __attribute__((noreturn)) testFinalSettleIn();

// These are actually defined in main.h:

void updateReckonerFromEncoders();

void driveHome();
void driveHomeAlmost();
void finalSettleIn();

float determinant();
float dotProduct();