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_sim.h File Reference
#include "std.h"
+ Include dependency graph for gps_sim.h:

Go to the source code of this file.

Macros

#define GPS_NB_CHANNELS   16
 
#define GpsEvent()   {}
 

Functions

void gps_impl_init (void)
 GPS initialization. More...
 
void gps_sim_publish (void)
 

Macro Definition Documentation

#define GPS_NB_CHANNELS   16

Definition at line 6 of file gps_sim.h.

#define GpsEvent (   void)    {}

Definition at line 12 of file gps_sim.h.

Function Documentation

void gps_impl_init ( void  )

GPS initialization.

Definition at line 62 of file gps_datalink.c.

void gps_sim_publish ( void  )

Definition at line 30 of file gps_sim.c.

References GpsState::fix, get_sys_time_usec(), gps, GPS_FIX_3D, GPS_SIM_ID, GpsState::last_3dfix_ticks, GpsState::last_3dfix_time, GpsState::last_msg_ticks, GpsState::last_msg_time, sys_time::nb_sec, and sys_time::nb_sec_rem.

Referenced by sim_use_gps_pos().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: