Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
gps_locate.h
- Committer:
- aroulin
- Date:
- 2014-10-05
- Revision:
- 17:726bbc1b73ee
- Parent:
- 16:2b2f2a3bde5a
File content as of revision 17:726bbc1b73ee:
#ifndef __GPS_LOCATE_H__ #define __GPS_LOCATE_H__ struct gps_data_t { double la; double lo; double altitude; double speed; }; /* Get GPS Location, blocks until received all informations needed, Timeout after timeout seconds returns: 1 if gps infos are correct, 0 otherwise */ int gps_locate(struct gps_data_t* gps_data, int timeout); #endif