Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_mpu60x0_defaults.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Felix Ruess <felix.ruess@gmail.com>
3  *
4  * This file is part of paparazzi.
5  *
6  * paparazzi is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * paparazzi is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with paparazzi; see the file COPYING. If not, write to
18  * the Free Software Foundation, 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
27 #ifndef IMU_MPU60X0_DEFAULTS_H
28 #define IMU_MPU60X0_DEFAULTS_H
29 
30 #include "generated/airframe.h"
31 
37 #if !defined IMU_GYRO_P_SENS & !defined IMU_GYRO_Q_SENS & !defined IMU_GYRO_R_SENS
38 #define IMU_GYRO_P_SENS 4.359
39 #define IMU_GYRO_P_SENS_NUM 4359
40 #define IMU_GYRO_P_SENS_DEN 1000
41 #define IMU_GYRO_Q_SENS 4.359
42 #define IMU_GYRO_Q_SENS_NUM 4359
43 #define IMU_GYRO_Q_SENS_DEN 1000
44 #define IMU_GYRO_R_SENS 4.359
45 #define IMU_GYRO_R_SENS_NUM 4359
46 #define IMU_GYRO_R_SENS_DEN 1000
47 #endif
48 #if !defined IMU_GYRO_P_NEUTRAL & !defined IMU_GYRO_Q_NEUTRAL & !defined IMU_GYRO_R_NEUTRAL
49 #define IMU_GYRO_P_NEUTRAL 0
50 #define IMU_GYRO_Q_NEUTRAL 0
51 #define IMU_GYRO_R_NEUTRAL 0
52 #endif
53 
59 #if !defined IMU_ACCEL_X_SENS & !defined IMU_ACCEL_Y_SENS & !defined IMU_ACCEL_Z_SENS
60 #define IMU_ACCEL_X_SENS 4.905
61 #define IMU_ACCEL_X_SENS_NUM 4905
62 #define IMU_ACCEL_X_SENS_DEN 1000
63 #define IMU_ACCEL_Y_SENS 4.905
64 #define IMU_ACCEL_Y_SENS_NUM 4905
65 #define IMU_ACCEL_Y_SENS_DEN 1000
66 #define IMU_ACCEL_Z_SENS 4.905
67 #define IMU_ACCEL_Z_SENS_NUM 4905
68 #define IMU_ACCEL_Z_SENS_DEN 1000
69 #endif
70 #if !defined IMU_ACCEL_X_NEUTRAL & !defined IMU_ACCEL_Y_NEUTRAL & !defined IMU_ACCEL_Z_NEUTRAL
71 #define IMU_ACCEL_X_NEUTRAL 0
72 #define IMU_ACCEL_Y_NEUTRAL 0
73 #define IMU_ACCEL_Z_NEUTRAL 0
74 #endif
75 
76 #endif /* IMU_MPU60X0_DEFAULTS_H */