Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.

Dependencies:   Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo

Committer:
shimniok
Date:
Wed Jun 20 14:57:48 2012 +0000
Revision:
0:826c6171fc1b
Updated documentation

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shimniok 0:826c6171fc1b 1 #ifndef __GPSSTATUS_H
shimniok 0:826c6171fc1b 2 #define __GPSSTATUS_H
shimniok 0:826c6171fc1b 3
shimniok 0:826c6171fc1b 4 #include "SerialGraphicLCD.h"
shimniok 0:826c6171fc1b 5
shimniok 0:826c6171fc1b 6 class GPSStatus {
shimniok 0:826c6171fc1b 7 public:
shimniok 0:826c6171fc1b 8 GPSStatus(int x, int y);
shimniok 0:826c6171fc1b 9 void init();
shimniok 0:826c6171fc1b 10 void update(float hdop);
shimniok 0:826c6171fc1b 11
shimniok 0:826c6171fc1b 12 static SerialGraphicLCD *lcd;
shimniok 0:826c6171fc1b 13
shimniok 0:826c6171fc1b 14 private:
shimniok 0:826c6171fc1b 15 int _x;
shimniok 0:826c6171fc1b 16 int _y;
shimniok 0:826c6171fc1b 17 int _s;
shimniok 0:826c6171fc1b 18 float _min;
shimniok 0:826c6171fc1b 19 float _max;
shimniok 0:826c6171fc1b 20 char _n;
shimniok 0:826c6171fc1b 21 int _last;
shimniok 0:826c6171fc1b 22 };
shimniok 0:826c6171fc1b 23
shimniok 0:826c6171fc1b 24 #endif