Paparazzi UAS  v5.15_devel-88-gb3ad7fe
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
nps_random.h File Reference
+ Include dependency graph for nps_random.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double get_gaussian_noise (void)
 
void double_vect3_add_gaussian_noise (struct DoubleVect3 *vect, struct DoubleVect3 *std_dev)
 
void double_vect3_get_gaussian_noise (struct DoubleVect3 *vect, struct DoubleVect3 *std_dev)
 
void double_vect3_update_random_walk (struct DoubleVect3 *rw, struct DoubleVect3 *std_dev, double dt, double thau)
 
void float_vect3_add_gaussian_noise (struct FloatVect3 *vect, struct FloatVect3 *std_dev)
 
void float_rates_add_gaussian_noise (struct FloatRates *vect, struct FloatRates *std_dev)
 

Function Documentation

void double_vect3_add_gaussian_noise ( struct DoubleVect3 vect,
struct DoubleVect3 std_dev 
)

Definition at line 34 of file nps_random.c.

References get_gaussian_noise(), DoubleVect3::x, DoubleVect3::y, and DoubleVect3::z.

Referenced by nps_sensor_accel_run_step(), nps_sensor_gps_run_step(), and nps_sensor_gyro_run_step().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void double_vect3_get_gaussian_noise ( struct DoubleVect3 vect,
struct DoubleVect3 std_dev 
)

Definition at line 57 of file nps_random.c.

References get_gaussian_noise(), DoubleVect3::x, DoubleVect3::y, and DoubleVect3::z.

Referenced by double_vect3_update_random_walk().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void double_vect3_update_random_walk ( struct DoubleVect3 rw,
struct DoubleVect3 std_dev,
double  dt,
double  thau 
)

Definition at line 65 of file nps_random.c.

References double_vect3_get_gaussian_noise(), VECT3_ADD, and VECT3_SMUL.

Referenced by nps_sensor_gps_run_step(), and nps_sensor_gyro_run_step().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void float_rates_add_gaussian_noise ( struct FloatRates vect,
struct FloatRates std_dev 
)

Definition at line 48 of file nps_random.c.

References get_gaussian_noise(), FloatRates::p, FloatRates::q, and FloatRates::r.

+ Here is the call graph for this function:

void float_vect3_add_gaussian_noise ( struct FloatVect3 vect,
struct FloatVect3 std_dev 
)

Definition at line 41 of file nps_random.c.

References get_gaussian_noise(), FloatVect3::x, FloatVect3::y, and FloatVect3::z.

+ Here is the call graph for this function: