Rev 215 | Rev 222 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 215 | Rev 217 | ||
---|---|---|---|
1 | #ifndef __GPS_H |
1 | #ifndef __GPS_H |
2 | #define __GPS_H |
2 | #define __GPS_H |
3 | 3 | ||
4 | #include "ubx.h" |
4 | #include "ubx.h" |
5 | #include "waypoints.h" |
5 | #include "waypoints.h" |
6 | 6 | ||
7 | typedef struct |
7 | typedef struct |
8 | { |
8 | { |
9 | s16 Nick; |
9 | s16 Nick; |
10 | s16 Roll; |
10 | s16 Roll; |
11 | s16 Yaw; |
11 | s16 Yaw; |
12 | } __attribute__((packed)) GPS_Stick_t; |
12 | } __attribute__((packed)) GPS_Stick_t; |
13 | - | ||
14 | extern GPS_Pos_t * GPS_pTargetPosition; |
13 | |
15 | extern Waypoint_t* GPS_pWaypoint; |
14 | extern Waypoint_t* GPS_pWaypoint; |
16 | 15 | ||
17 | void GPS_Init(void); |
16 | void GPS_Init(void); |
18 | void GPS_Navigation(gps_data_t *pGPS_Data, GPS_Stick_t* pGPS_Stick); |
17 | void GPS_Navigation(gps_data_t *pGPS_Data, GPS_Stick_t* pGPS_Stick); |
19 | 18 | ||
20 | 19 | ||
21 | #endif //__GPS_H |
20 | #endif //__GPS_H |
22 | 21 | ||
23 | 22 |