Rev 43 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ingob | 1 | #ifndef __GPS_H |
2 | #define __GPS_H |
||
3 | |||
41 | ingob | 4 | #include "waypoints.h" |
1 | ingob | 5 | |
41 | ingob | 6 | typedef struct |
1 | ingob | 7 | { |
41 | ingob | 8 | s16 Nick; |
9 | s16 Roll; |
||
10 | s16 Yaw; |
||
11 | } __attribute__((packed)) GPS_Stick_t; |
||
1 | ingob | 12 | |
41 | ingob | 13 | extern GPS_Pos_t GPS_HomePosition; |
14 | extern GPS_Pos_t * GPS_pTargetPosition; |
||
15 | extern Waypoint_t* GPS_pWaypoint; |
||
1 | ingob | 16 | |
41 | ingob | 17 | extern GPS_Stick_t GPS_Stick; |
1 | ingob | 18 | |
41 | ingob | 19 | void GPS_Navigation(void); |
20 | void GPS_Init(void); |
||
21 | extern u8 GPS_CopyPosition(GPS_Pos_t * pGPSPosSrc, GPS_Pos_t* pGPSPosTgt); |
||
1 | ingob | 22 | |
41 | ingob | 23 | #endif //__GPS_H |
1 | ingob | 24 |