Paparazzi UAS  v5.8.2_stable-0-g6260b7c
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 dependency graph for gps_datalink.h:

Go to the source code of this file.


#define GPS_NB_CHANNELS   0
#define GpsEvent()   {}


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...


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
#define GpsEvent (   void)    {}

Definition at line 47 of file gps_datalink.h.

Referenced by event_task_ap(), and main_event().

Function Documentation

Variable Documentation

bool_t gps_available

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

Definition at line 59 of file gps_datalink.c.

Referenced by gps_impl_init(), gps_sim_hitl_event(), and parse_gps_datalink().