4 #include "generated/airframe.h"
8 #include NPS_SENSORS_PARAMS
18 NPS_GPS_POS_NOISE_STD_DEV, NPS_GPS_POS_NOISE_STD_DEV, NPS_GPS_POS_NOISE_STD_DEV);
20 NPS_GPS_SPEED_NOISE_STD_DEV, NPS_GPS_SPEED_NOISE_STD_DEV, NPS_GPS_SPEED_NOISE_STD_DEV);
22 NPS_GPS_POS_BIAS_INITIAL_X, NPS_GPS_POS_BIAS_INITIAL_Y, NPS_GPS_POS_BIAS_INITIAL_Z);
24 NPS_GPS_POS_BIAS_RANDOM_WALK_STD_DEV_X,
25 NPS_GPS_POS_BIAS_RANDOM_WALK_STD_DEV_Y,
26 NPS_GPS_POS_BIAS_RANDOM_WALK_STD_DEV_Z);
41 if (time < gps->next_update) {
88 double cur_hmsl_reading =
fdm.
hmsl;
struct EcefCoor_d ecef_vel
#define VECT3_ADD(_a, _b)
struct DoubleVect3 pos_bias_random_walk_std_dev
struct NpsFdm fdm
Holds all necessary NPS FDM state information.
struct EcefCoor_d ecef_pos
void UpdateSensorLatency(double time, gpointer cur_reading, GSList **history, double latency, gpointer sensor_reading)
#define VECT3_COPY(_a, _b)
#define VECT3_ASSIGN(_a, _x, _y, _z)
void double_vect3_update_random_walk(struct DoubleVect3 *rw, struct DoubleVect3 *std_dev, double dt, double thau)
vector in Latitude, Longitude and Altitude
void double_vect3_add_gaussian_noise(struct DoubleVect3 *vect, struct DoubleVect3 *std_dev)
void nps_sensor_gps_run_step(struct NpsSensorGps *gps, double time)
void UpdateSensorLatency_Single(double time, gpointer cur_reading, GSList **history, double latency, gpointer sensor_reading)
struct DoubleVect3 pos_noise_std_dev
struct EcefCoor_d ecef_ecef_vel
velocity in ECEF frame, wrt ECEF frame
#define FLOAT_VECT3_ZERO(_v)
struct DoubleVect3 pos_bias_initial
vector in EarthCenteredEarthFixed coordinates
void lla_of_ecef_d(struct LlaCoor_d *lla, struct EcefCoor_d *ecef)
struct DoubleVect3 pos_bias_random_walk_value
struct EcefCoor_d ecef_pos
void nps_sensor_gps_init(struct NpsSensorGps *gps, double time)
struct GpsState gps
global GPS state
struct DoubleVect3 speed_noise_std_dev