Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "nps_sensor_gyro.h"
#include "generated/airframe.h"
#include "nps_fdm.h"
#include "nps_sensors.h"
#include "math/pprz_algebra_int.h"
#include "nps_random.h"
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, time, NpsSensorGyro::value, and VECT3_ASSIGN.
Referenced by nps_sensors_init().
void nps_sensor_gyro_run_step | ( | struct NpsSensorGyro * | gyro, |
double | time, | ||
struct DoubleRMat * | body_to_imu | ||
) |
Definition at line 33 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().