Paparazzi UAS  v7.0_unstable
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 {
14  struct EcefCoor_d ecef_pos;
15  struct EcefCoor_d ecef_vel;
16  struct LlaCoor_d lla_pos;
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 GpsState gps
global GPS state
Definition: gps.c:69
vector in EarthCenteredEarthFixed coordinates
vector in Latitude, Longitude and Altitude
struct LlaCoor_d lla_pos
double speed_latency
double next_update
GSList * hmsl_history
GSList * pos_history
double pos_latency
void nps_sensor_gps_init(struct NpsSensorGps *gps, double time)
struct DoubleVect3 pos_noise_std_dev
GSList * lla_history
struct DoubleVect3 pos_bias_random_walk_std_dev
struct EcefCoor_d ecef_vel
GSList * speed_history
void nps_sensor_gps_run_step(struct NpsSensorGps *gps, double time)
struct DoubleVect3 speed_noise_std_dev
struct DoubleVect3 pos_bias_initial
struct DoubleVect3 pos_bias_random_walk_value
struct EcefCoor_d ecef_pos
Paparazzi generic algebra macros.
Paparazzi double precision floating point algebra.
Paparazzi floating point algebra.
Paparazzi double-precision floating point math for geodetic calculations.