Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
gps_sim.h File Reference
#include "std.h"
#include "subsystems/gps.h"
+ Include dependency graph for gps_sim.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRIMARY_GPS   GPS_SIM
 
#define gps_sim_periodic_check()   gps_periodic_check(&gps)
 

Functions

void gps_sim_publish (void)
 
void gps_sim_init (void)
 

Macro Definition Documentation

◆ gps_sim_periodic_check

#define gps_sim_periodic_check ( )    gps_periodic_check(&gps)

Definition at line 14 of file gps_sim.h.

◆ PRIMARY_GPS

#define PRIMARY_GPS   GPS_SIM

Definition at line 8 of file gps_sim.h.

Function Documentation

◆ gps_sim_init()

void gps_sim_init ( void  )

Definition at line 25 of file gps_sim.c.

References GpsState::fix, gps, and GPS_FIX_NONE.

◆ gps_sim_publish()

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: