Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
gps_sim_nps.c File Reference
#include <time.h>
#include "modules/gps/gps_sim_nps.h"
#include "modules/gps/gps.h"
#include "modules/core/abi.h"
#include "nps_sensors.h"
#include "nps_fdm.h"
#include "modules/datalink/datalink.h"
Include dependency graph for gps_sim_nps.c:

Go to the source code of this file.

Macros

#define GPS_NPS_PACC   200
 Simulated position accuracy (cm).
#define GPS_NPS_HACC   120
 Simulated horizontal position accuracy (cm).
#define GPS_NPS_VACC   180
 Simulated vertical position accuracy (cm).
#define GPS_NPS_SACC   20
 Simulated speed accuracy (cm/s).
#define GPS_NPS_PDOP   140
 Simulated position dilution of precision (x100).

Functions

void gps_feed_value (void)
void gps_nps_init (void)

Variables

struct GpsState gps_nps = {0}
bool gps_has_fix

Macro Definition Documentation

◆ GPS_NPS_HACC

#define GPS_NPS_HACC   120

Simulated horizontal position accuracy (cm).

Definition at line 40 of file gps_sim_nps.c.

Referenced by gps_feed_value().

◆ GPS_NPS_PACC

#define GPS_NPS_PACC   200

Simulated position accuracy (cm).

Definition at line 35 of file gps_sim_nps.c.

Referenced by gps_feed_value().

◆ GPS_NPS_PDOP

#define GPS_NPS_PDOP   140

Simulated position dilution of precision (x100).

Definition at line 55 of file gps_sim_nps.c.

Referenced by gps_feed_value().

◆ GPS_NPS_SACC

#define GPS_NPS_SACC   20

Simulated speed accuracy (cm/s).

Definition at line 50 of file gps_sim_nps.c.

Referenced by gps_feed_value().

◆ GPS_NPS_VACC

#define GPS_NPS_VACC   180

Simulated vertical position accuracy (cm).

Definition at line 45 of file gps_sim_nps.c.

Referenced by gps_feed_value().

Function Documentation

◆ gps_feed_value()

◆ gps_nps_init()

void gps_nps_init ( void )

Definition at line 140 of file gps_sim_nps.c.

References gps_has_fix.

Variable Documentation

◆ gps_has_fix

bool gps_has_fix

◆ gps_nps

struct GpsState gps_nps = {0}

Definition at line 30 of file gps_sim_nps.c.

Referenced by gps_feed_value().