Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
Diff: Sensors/Sensors.h
- Revision:
- 2:fbc6e3cf3ed8
- Parent:
- 0:a6a169de725f
- Child:
- 12:5dfa1ab47838
diff -r cb84b477886c -r fbc6e3cf3ed8 Sensors/Sensors.h --- a/Sensors/Sensors.h Tue May 28 13:58:35 2013 +0000 +++ b/Sensors/Sensors.h Thu Jun 06 13:40:23 2013 +0000 @@ -32,6 +32,7 @@ /** Sensor interface library abstracts sensor drivers, next step to a pluggable architecture */ +#include "Sirf3.h" #include "Ublox6.h" #include "Venus638flpx.h" #include "L3G4200D.h" @@ -117,8 +118,9 @@ float encDistance; // encoder distance since last check float encSpeed; // encoder calculated speed - Venus638flpx gps; // Venus GPS - //Ublox6 gps; // Ublox6 GPS + //Sirf3 gps; // Pharos SiRF III GPS + //Venus638flpx gps; // Venus GPS + Ublox6 gps; // Ublox6 GPS AnalogIn _voltage; // Voltage from sensor board AnalogIn _current; // Current from sensor board IncrementalEncoder _left; // Left wheel encoder