|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include "nps_sensor_gyro.h"#include "generated/airframe.h"#include "nps_fdm.h"#include <NPS_SENSORS_PARAMS>#include "math/pprz_algebra_int.h"#include "nps_random.h"
Include dependency graph for nps_sensor_gyro.c:Go to the source code of this file.
Functions | |
| void | nps_sensor_gyro_init (struct NpsSensorGyro *gyro, double time) |
| void | nps_sensor_gyro_run_step (struct NpsSensorGyro *gyro, double time, struct DoubleRMat *body_to_imu) |
| void nps_sensor_gyro_init | ( | struct NpsSensorGyro * | gyro, |
| double | time | ||
| ) |
Definition at line 9 of file nps_sensor_gyro.c.
References NpsSensorGyro::bias_initial, NpsSensorGyro::bias_random_walk_std_dev, NpsSensorGyro::bias_random_walk_value, NpsSensorGyro::data_available, FALSE, FLOAT_MAT33_DIAG, FLOAT_VECT3_ZERO, NpsSensorGyro::max, NpsSensorGyro::min, NpsSensorGyro::neutral, NpsSensorGyro::next_update, NpsSensorGyro::noise_std_dev, NpsSensorGyro::sensitivity, NpsSensorGyro::value, and VECT3_ASSIGN.
Referenced by nps_sensors_init().
Here is the caller graph for this function:| void nps_sensor_gyro_run_step | ( | struct NpsSensorGyro * | gyro, |
| double | time, | ||
| struct DoubleRMat * | body_to_imu | ||
| ) |
Definition at line 31 of file nps_sensor_gyro.c.
References NpsSensorGyro::bias_initial, NpsSensorGyro::bias_random_walk_std_dev, NpsSensorGyro::bias_random_walk_value, NpsFdm::body_inertial_rotvel, NpsSensorGyro::data_available, double_vect3_add_gaussian_noise(), DOUBLE_VECT3_ROUND, double_vect3_update_random_walk(), fdm, DoubleMat33::m, MAT33_VECT3_MUL, NpsSensorGyro::max, NpsSensorGyro::min, NpsSensorGyro::neutral, NpsSensorGyro::next_update, NpsSensorGyro::noise_std_dev, NpsSensorGyro::sensitivity, TRUE, NpsSensorGyro::value, VECT3_ADD, VECT3_BOUND_CUBE, VECT3_COPY, and VECT3_EW_MUL.
Referenced by nps_sensors_run_step().
Here is the call graph for this function:
Here is the caller graph for this function: