![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
invoer/gps_wrapper.h@0:bec310bde899, 2011-09-27 (annotated)
- Committer:
- pd0wm
- Date:
- Tue Sep 27 19:46:30 2011 +0000
- Revision:
- 0:bec310bde899
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pd0wm | 0:bec310bde899 | 1 | #ifndef GPS_WRAPPER_H |
pd0wm | 0:bec310bde899 | 2 | #define GPS_WRAPPER_H |
pd0wm | 0:bec310bde899 | 3 | |
pd0wm | 0:bec310bde899 | 4 | #include "mbed.h" |
pd0wm | 0:bec310bde899 | 5 | #include "pws.h" |
pd0wm | 0:bec310bde899 | 6 | #include "math.h" |
pd0wm | 0:bec310bde899 | 7 | #include "GPS.h" |
pd0wm | 0:bec310bde899 | 8 | #include <string> |
pd0wm | 0:bec310bde899 | 9 | |
pd0wm | 0:bec310bde899 | 10 | class Gps{ |
pd0wm | 0:bec310bde899 | 11 | pos positie; |
pd0wm | 0:bec310bde899 | 12 | GPS * gps; |
pd0wm | 0:bec310bde899 | 13 | |
pd0wm | 0:bec310bde899 | 14 | |
pd0wm | 0:bec310bde899 | 15 | public: |
pd0wm | 0:bec310bde899 | 16 | char gga[128]; |
pd0wm | 0:bec310bde899 | 17 | Gps(GPS *); |
pd0wm | 0:bec310bde899 | 18 | void set(pos *); |
pd0wm | 0:bec310bde899 | 19 | pos get(void); |
pd0wm | 0:bec310bde899 | 20 | void simuleer(double,double); |
pd0wm | 0:bec310bde899 | 21 | char* getgga(void); |
pd0wm | 0:bec310bde899 | 22 | |
pd0wm | 0:bec310bde899 | 23 | }; |
pd0wm | 0:bec310bde899 | 24 | |
pd0wm | 0:bec310bde899 | 25 | |
pd0wm | 0:bec310bde899 | 26 | #endif |