Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
gps_locate.h
00001 #ifndef __GPS_LOCATE_H__ 00002 #define __GPS_LOCATE_H__ 00003 00004 struct gps_data_t { 00005 double la; 00006 double lo; 00007 double altitude; 00008 double speed; 00009 }; 00010 00011 /* 00012 Get GPS Location, blocks until received 00013 all informations needed, Timeout after timeout seconds 00014 00015 returns: 1 if gps infos are correct, 0 otherwise 00016 */ 00017 int gps_locate(struct gps_data_t* gps_data, int timeout); 00018 00019 #endif
Generated on Fri Jul 15 2022 19:42:17 by 1.7.2