Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 */
struct EcefCoor_d ecef_vel
GSList * hmsl_history
double next_update
struct DoubleVect3 pos_bias_random_walk_std_dev
struct EcefCoor_d ecef_pos
GSList * lla_history
vector in Latitude, Longitude and Altitude
void nps_sensor_gps_init(struct NpsSensorGps *gps, double time)
struct DoubleVect3 pos_noise_std_dev
Paparazzi double-precision floating point math for geodetic calculations.
struct DoubleVect3 pos_bias_initial
struct LlaCoor_d lla_pos
Paparazzi floating point algebra.
void nps_sensor_gps_run_step(struct NpsSensorGps *gps, double time)
Paparazzi generic algebra macros.
vector in EarthCenteredEarthFixed coordinates
double pos_latency
GSList * pos_history
struct DoubleVect3 pos_bias_random_walk_value
GSList * speed_history
double speed_latency
Paparazzi double precision floating point algebra.
struct GpsState gps
global GPS state
Definition: gps.c:75
struct DoubleVect3 speed_noise_std_dev