Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gps_datalink.h File Reference

GPS system based on datalink. More...

#include "std.h"
#include "generated/airframe.h"
#include "subsystems/gps.h"
+ Include dependency graph for gps_datalink.h:

Go to the source code of this file.

Macros

#define PRIMARY_GPS   GPS_DATALINK
 
#define gps_datalink_periodic_check()   gps_periodic_check(&gps_datalink)
 

Functions

void gps_datalink_init (void)
 GPS initialization. More...
 
void gps_datalink_parse_REMOTE_GPS (void)
 
void gps_datalink_parse_REMOTE_GPS_SMALL (void)
 

Variables

struct GpsState gps_datalink
 

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_datalink_periodic_check ( )    gps_periodic_check(&gps_datalink)

Definition at line 45 of file gps_datalink.h.

#define PRIMARY_GPS   GPS_DATALINK

Definition at line 38 of file gps_datalink.h.

Function Documentation

void gps_datalink_init ( void  )
void gps_datalink_parse_REMOTE_GPS ( void  )

Definition at line 177 of file gps_datalink.c.

References dl_buffer, and parse_gps_datalink().

+ Here is the call graph for this function:

void gps_datalink_parse_REMOTE_GPS_SMALL ( void  )

Definition at line 196 of file gps_datalink.c.

References dl_buffer, and parse_gps_datalink_small().

+ Here is the call graph for this function:

Variable Documentation

struct GpsState gps_datalink

Definition at line 38 of file gps_datalink.c.

Referenced by gps_datalink_init(), parse_gps_datalink(), and parse_gps_datalink_small().