Rev 548 | Rev 588 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 548 | Rev 556 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef __GPS_H |
1 | #ifndef __GPS_H |
2 | #define __GPS_H |
2 | #define __GPS_H |
Line -... | Line 3... | ||
- | 3 | ||
- | 4 | #define SIMULATION_ACTIVE 0x01 |
|
- | 5 | #define SIMULATION_MOTOR_ON 0x02 |
|
- | 6 | #define SIMULATION_MOTOR_START 0x80 |
|
3 | 7 | ||
4 | #include "ubx.h" |
8 | #include "ubx.h" |
Line 5... | Line 9... | ||
5 | #include "waypoints.h" |
9 | #include "waypoints.h" |
6 | 10 | ||
Line 24... | Line 28... | ||
24 | extern Point_t* GPS_pWaypoint; |
28 | extern Point_t* GPS_pWaypoint; |
25 | extern u8 MaxNumberOfWaypoints; // should be 32 |
29 | extern u8 MaxNumberOfWaypoints; // should be 32 |
26 | extern u16 AbsoluteFlyingRange_m; // Maximum distance that the MK is not allowed to exceed - keep zero if not used |
30 | extern u16 AbsoluteFlyingRange_m; // Maximum distance that the MK is not allowed to exceed - keep zero if not used |
27 | extern s16 AbsoluteFlyingAltitude; // Maximum altitude that the MK is not allowed to exceed - keep zero if not used |
31 | extern s16 AbsoluteFlyingAltitude; // Maximum altitude that the MK is not allowed to exceed - keep zero if not used |
28 | extern u16 AutoDescendRange_m; |
32 | extern u16 AutoDescendRange_m; |
- | 33 | extern GPS_Pos_t SimulationPosition; // the current GPS position in simulated mode |
|
- | 34 | extern u8 SimulationFlags; |
|
Line 29... | Line 35... | ||
29 | 35 | ||
30 | void GPS_Init(void); |
36 | void GPS_Init(void); |
31 | void GPS_Navigation(gps_data_t *pGPS_Data, GPS_Stick_t* pGPS_Stick); |
37 | void GPS_Navigation(gps_data_t *pGPS_Data, GPS_Stick_t* pGPS_Stick); |
32 | void CalcHeadFree(void); |
38 | void CalcHeadFree(void); |