Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include <glib.h>
#include "math/pprz_algebra.h"
#include "math/pprz_algebra_double.h"
#include "math/pprz_algebra_float.h"
#include "math/pprz_geodetic_double.h"
#include "std.h"
Go to the source code of this file.
Data Structures | |
struct | NpsSensorGps |
Functions | |
void | nps_sensor_gps_init (struct NpsSensorGps *gps, double time) |
void | nps_sensor_gps_run_step (struct NpsSensorGps *gps, double time) |
struct NpsSensorGps |
Definition at line 13 of file nps_sensor_gps.h.
Data Fields | ||
---|---|---|
bool | data_available | |
struct EcefCoor_d | ecef_pos | |
struct EcefCoor_d | ecef_vel | |
double | hmsl | |
GSList * | hmsl_history | |
GSList * | lla_history | |
struct LlaCoor_d | lla_pos | |
double | next_update | |
struct DoubleVect3 | pos_bias_initial | |
struct DoubleVect3 | pos_bias_random_walk_std_dev | |
struct DoubleVect3 | pos_bias_random_walk_value | |
GSList * | pos_history | |
double | pos_latency | |
struct DoubleVect3 | pos_noise_std_dev | |
GSList * | speed_history | |
double | speed_latency | |
struct DoubleVect3 | speed_noise_std_dev |
void nps_sensor_gps_init | ( | struct NpsSensorGps * | gps, |
double | time | ||
) |
Definition at line 10 of file nps_sensor_gps.c.
References GpsState::ecef_pos, GpsState::ecef_vel, FALSE, FLOAT_VECT3_ZERO, gps, GpsState::hmsl, time, and VECT3_ASSIGN.
Referenced by nps_sensors_init().
void nps_sensor_gps_run_step | ( | struct NpsSensorGps * | gps, |
double | time | ||
) |
Definition at line 39 of file nps_sensor_gps.c.
References double_vect3_add_gaussian_noise(), double_vect3_update_random_walk(), NpsFdm::ecef_ecef_vel, GpsState::ecef_pos, NpsFdm::ecef_pos, GpsState::ecef_vel, fdm, gps, GpsState::hmsl, NpsFdm::hmsl, lla_of_ecef_d(), GpsState::lla_pos, time, TRUE, UpdateSensorLatency(), UpdateSensorLatency_Single(), VECT3_ADD, and VECT3_COPY.
Referenced by nps_sensors_run_step().