Subversion Repositories NaviCtrl

Rev

Rev 222 | Rev 261 | Go to most recent revision | 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
 
215 killagreg 4
#include "ubx.h"
41 ingob 5
#include "waypoints.h"
1 ingob 6
 
41 ingob 7
typedef struct
1 ingob 8
{
41 ingob 9
        s16 Nick;
10
        s16 Roll;
11
        s16 Yaw;
12
}  __attribute__((packed)) GPS_Stick_t;
1 ingob 13
 
41 ingob 14
extern Waypoint_t* GPS_pWaypoint;
1 ingob 15
 
41 ingob 16
void GPS_Init(void);
215 killagreg 17
void GPS_Navigation(gps_data_t *pGPS_Data, GPS_Stick_t* pGPS_Stick);
222 holgerb 18
void CalcHeadFree(void);
1 ingob 19
 
258 holgerb 20
#define EVENTFLAG_1_WP_CHANNEL    1
21
#define EVENTFLAG_2_WP_CHANNEL    2
22
 
41 ingob 23
#endif //__GPS_H
1 ingob 24