Paparazzi UAS  v5.14.0_stable-0-g3f680d1
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)
 
void gps_datalink_parse_REMOTE_GPS_LOCAL (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 231 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_LOCAL ( void  )

Definition at line 260 of file gps_datalink.c.

References dl_buffer, and parse_gps_datalink_local().

+ Here is the call graph for this function:

void gps_datalink_parse_REMOTE_GPS_SMALL ( void  )

Definition at line 250 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