Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gps_datalink.h File Reference

GPS system based on datalink. More...

#include "std.h"
+ Include dependency graph for gps_datalink.h:

Go to the source code of this file.

Macros

#define GPS_NB_CHANNELS   0
 
#define GpsEvent(_sol_available_callback)
 

Functions

void parse_gps_datalink (uint8_t numsv, int32_t ecef_x, int32_t ecef_y, int32_t ecef_z, int32_t lat, int32_t lon, int32_t alt, int32_t hmsl, int32_t ecef_xd, int32_t ecef_yd, int32_t ecef_zd, uint32_t tow, int32_t course)
 Parse the REMOTE_GPS datalink packet. More...
 

Variables

bool_t gps_available
 Is set to TRUE when a new REMOTE_GPS packet is received and parsed. More...
 

Detailed Description

GPS system based on datalink.

This GPS parses the datalink REMOTE_GPS packet and sets the GPS structure to the values received.

Definition in file gps_datalink.h.

Macro Definition Documentation

#define GPS_NB_CHANNELS   0

Definition at line 34 of file gps_datalink.h.

#define GpsEvent (   _sol_available_callback)
Value:
{ \
} \
_sol_available_callback(); \
} \
}
uint32_t last_3dfix_ticks
cpu time ticks at last valid 3D fix
Definition: gps.h:85
uint8_t fix
status of fix
Definition: gps.h:78
#define GPS_FIX_3D
Definition: gps.h:43
if(PrimarySpektrumState.SpektrumTimer)--PrimarySpektrumState.SpektrumTimer
#define FALSE
Definition: imu_chimu.h:141
volatile uint32_t nb_sec_rem
remainder of seconds since startup in CPU_TICKS
Definition: sys_time.h:70
uint32_t last_msg_ticks
cpu time ticks at last received GPS message
Definition: gps.h:87
volatile uint32_t nb_sec
full seconds since startup
Definition: sys_time.h:69
uint32_t last_3dfix_time
cpu time in sec at last valid 3D fix
Definition: gps.h:86
uint32_t last_msg_time
cpu time in sec at last received GPS message
Definition: gps.h:88
struct GpsState gps
global GPS state
Definition: gps.c:41

Definition at line 41 of file gps_datalink.h.

Function Documentation

void parse_gps_datalink ( uint8_t  numsv,
int32_t  ecef_x,
int32_t  ecef_y,
int32_t  ecef_z,
int32_t  lat,
int32_t  lon,
int32_t  alt,
int32_t  hmsl,
int32_t  ecef_xd,
int32_t  ecef_yd,
int32_t  ecef_zd,
uint32_t  tow,
int32_t  course 
)

Variable Documentation

bool_t gps_available

Is set to TRUE when a new REMOTE_GPS packet is received and parsed.

Definition at line 32 of file gps_datalink.c.