Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
nps_sensor_gps.h
Go to the documentation of this file.
1 #ifndef NPS_SENSOR_GPS_H
2 #define NPS_SENSOR_GPS_H
3 
4 #include <glib.h>
5 
6 #include "math/pprz_algebra.h"
10 
11 #include "std.h"
12 
13 struct NpsSensorGps {
17  double hmsl;
23  double pos_latency;
24  double speed_latency;
25  GSList *hmsl_history;
26  GSList *pos_history;
27  GSList *lla_history;
28  GSList *speed_history;
29  double next_update;
31 };
32 
33 
34 extern void nps_sensor_gps_init(struct NpsSensorGps *gps, double time);
35 extern void nps_sensor_gps_run_step(struct NpsSensorGps *gps, double time);
36 
37 #endif /* NPS_SENSOR_GPS_H */
NpsSensorGps::pos_noise_std_dev
struct DoubleVect3 pos_noise_std_dev
Definition: nps_sensor_gps.h:18
NpsSensorGps::lla_pos
struct LlaCoor_d lla_pos
Definition: nps_sensor_gps.h:16
LlaCoor_d
vector in Latitude, Longitude and Altitude
Definition: pprz_geodetic_double.h:58
NpsSensorGps::lla_history
GSList * lla_history
Definition: nps_sensor_gps.h:27
NpsSensorGps::data_available
bool data_available
Definition: nps_sensor_gps.h:30
NpsSensorGps::hmsl_history
GSList * hmsl_history
Definition: nps_sensor_gps.h:25
pprz_algebra_float.h
Paparazzi floating point algebra.
NpsSensorGps::ecef_vel
struct EcefCoor_d ecef_vel
Definition: nps_sensor_gps.h:15
nps_sensor_gps_run_step
void nps_sensor_gps_run_step(struct NpsSensorGps *gps, double time)
Definition: nps_sensor_gps.c:39
NpsSensorGps::pos_bias_random_walk_value
struct DoubleVect3 pos_bias_random_walk_value
Definition: nps_sensor_gps.h:22
NpsSensorGps::hmsl
double hmsl
Definition: nps_sensor_gps.h:17
NpsSensorGps::ecef_pos
struct EcefCoor_d ecef_pos
Definition: nps_sensor_gps.h:14
std.h
NpsSensorGps
Definition: nps_sensor_gps.h:13
nps_sensor_gps_init
void nps_sensor_gps_init(struct NpsSensorGps *gps, double time)
Definition: nps_sensor_gps.c:10
NpsSensorGps::speed_noise_std_dev
struct DoubleVect3 speed_noise_std_dev
Definition: nps_sensor_gps.h:19
pprz_geodetic_double.h
Paparazzi double-precision floating point math for geodetic calculations.
pprz_algebra_double.h
Paparazzi double precision floating point algebra.
EcefCoor_d
vector in EarthCenteredEarthFixed coordinates
Definition: pprz_geodetic_double.h:49
NpsSensorGps::next_update
double next_update
Definition: nps_sensor_gps.h:29
DoubleVect3
Definition: pprz_algebra_double.h:46
pprz_algebra.h
Paparazzi generic algebra macros.
NpsSensorGps::pos_bias_random_walk_std_dev
struct DoubleVect3 pos_bias_random_walk_std_dev
Definition: nps_sensor_gps.h:21
NpsSensorGps::pos_bias_initial
struct DoubleVect3 pos_bias_initial
Definition: nps_sensor_gps.h:20
NpsSensorGps::pos_latency
double pos_latency
Definition: nps_sensor_gps.h:23
NpsSensorGps::speed_history
GSList * speed_history
Definition: nps_sensor_gps.h:28
gps
struct GpsState gps
global GPS state
Definition: gps.c:69
NpsSensorGps::speed_latency
double speed_latency
Definition: nps_sensor_gps.h:24
NpsSensorGps::pos_history
GSList * pos_history
Definition: nps_sensor_gps.h:26