Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Data Structures | |
struct | ImuNps |
Macros | |
#define | IMU_GYRO_P_SENS 4.359 |
we just define some defaults for aspirin v1.5 for now More... | |
#define | IMU_GYRO_P_SENS_NUM 4359 |
#define | IMU_GYRO_P_SENS_DEN 1000 |
#define | IMU_GYRO_Q_SENS 4.359 |
#define | IMU_GYRO_Q_SENS_NUM 4359 |
#define | IMU_GYRO_Q_SENS_DEN 1000 |
#define | IMU_GYRO_R_SENS 4.359 |
#define | IMU_GYRO_R_SENS_NUM 4359 |
#define | IMU_GYRO_R_SENS_DEN 1000 |
#define | IMU_ACCEL_X_SENS 37.91 |
we just define some defaults for aspirin v1.5 for now More... | |
#define | IMU_ACCEL_X_SENS_NUM 3791 |
#define | IMU_ACCEL_X_SENS_DEN 100 |
#define | IMU_ACCEL_Y_SENS 37.91 |
#define | IMU_ACCEL_Y_SENS_NUM 3791 |
#define | IMU_ACCEL_Y_SENS_DEN 100 |
#define | IMU_ACCEL_Z_SENS 39.24 |
#define | IMU_ACCEL_Z_SENS_NUM 3924 |
#define | IMU_ACCEL_Z_SENS_DEN 100 |
#define | IMU_MAG_X_SENS 3.5 |
#define | IMU_MAG_X_SENS_NUM 7 |
#define | IMU_MAG_X_SENS_DEN 2 |
#define | IMU_MAG_Y_SENS 3.5 |
#define | IMU_MAG_Y_SENS_NUM 7 |
#define | IMU_MAG_Y_SENS_DEN 2 |
#define | IMU_MAG_Z_SENS 3.5 |
#define | IMU_MAG_Z_SENS_NUM 7 |
#define | IMU_MAG_Z_SENS_DEN 2 |
Functions | |
void | imu_feed_gyro_accel (void) |
void | imu_feed_mag (void) |
void | imu_nps_init (void) |
void | imu_nps_event (void) |
Variables | |
struct ImuNps | imu_nps |
struct ImuNps |
#define IMU_ACCEL_X_SENS 37.91 |
#define IMU_GYRO_P_SENS 4.359 |
void imu_feed_gyro_accel | ( | void | ) |
Definition at line 40 of file imu_nps.c.
References NpsSensors::accel, ImuNps::accel_available, Imu::accel_unscaled, NpsSensors::gyro, ImuNps::gyro_available, Imu::gyro_unscaled, imu, imu_nps, RATES_ASSIGN, sensors, NpsSensorAccel::value, NpsSensorGyro::value, VECT3_ASSIGN, DoubleVect3::x, DoubleVect3::y, and DoubleVect3::z.
Referenced by nps_autopilot_run_step().
void imu_feed_mag | ( | void | ) |
Definition at line 53 of file imu_nps.c.
References imu, imu_nps, NpsSensors::mag, ImuNps::mag_available, Imu::mag_unscaled, sensors, NpsSensorMag::value, VECT3_ASSIGN, DoubleVect3::x, DoubleVect3::y, and DoubleVect3::z.
Referenced by nps_autopilot_run_step().
void imu_nps_event | ( | void | ) |
Definition at line 61 of file imu_nps.c.
References Imu::accel, ImuNps::accel_available, get_sys_time_usec(), Imu::gyro, ImuNps::gyro_available, imu, IMU_BOARD_ID, imu_nps, imu_scale_accel(), imu_scale_gyro(), imu_scale_mag(), Imu::mag, and ImuNps::mag_available.
void imu_nps_init | ( | void | ) |
Definition at line 30 of file imu_nps.c.
References ImuNps::accel_available, ImuNps::gyro_available, imu_nps, and ImuNps::mag_available.
struct ImuNps imu_nps |
Definition at line 28 of file imu_nps.c.
Referenced by imu_feed_gyro_accel(), imu_feed_mag(), imu_nps_event(), and imu_nps_init().