Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_gl1_defaults.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010-2013 The Paparazzi Team
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 
28 #ifndef IMU_GL1_DEFAULTS_H
29 #define IMU_GL1_DEFAULTS_H
30 
31 #include "generated/airframe.h"
32 
33 #if !defined IMU_MAG_X_SIGN & !defined IMU_MAG_Y_SIGN & !defined IMU_MAG_Z_SIGN
34 #define IMU_MAG_X_SIGN 1
35 #define IMU_MAG_Y_SIGN 1
36 #define IMU_MAG_Z_SIGN 1
37 #endif
38 #if !defined IMU_GYRO_P_SIGN & !defined IMU_GYRO_Q_SIGN & !defined IMU_GYRO_R_SIGN
39 #define IMU_GYRO_P_SIGN 1
40 #define IMU_GYRO_Q_SIGN 1
41 #define IMU_GYRO_R_SIGN 1
42 #endif
43 #if !defined IMU_ACCEL_X_SIGN & !defined IMU_ACCEL_Y_SIGN & !defined IMU_ACCEL_Z_SIGN
44 #define IMU_ACCEL_X_SIGN 1
45 #define IMU_ACCEL_Y_SIGN 1
46 #define IMU_ACCEL_Z_SIGN 1
47 #endif
48 
49 
59 #if !defined IMU_GYRO_P_SENS & !defined IMU_GYRO_Q_SENS & !defined IMU_GYRO_R_SENS
60 #define IMU_GYRO_P_SENS 5.006
61 #define IMU_GYRO_P_SENS_NUM 2503
62 #define IMU_GYRO_P_SENS_DEN 500
63 #define IMU_GYRO_Q_SENS 5.006
64 #define IMU_GYRO_Q_SENS_NUM 2503
65 #define IMU_GYRO_Q_SENS_DEN 500
66 #define IMU_GYRO_R_SENS 5.006
67 #define IMU_GYRO_R_SENS_NUM 2503
68 #define IMU_GYRO_R_SENS_DEN 500
69 #endif
70 
82 #if !defined IMU_ACCEL_X_SENS & !defined IMU_ACCEL_Y_SENS & !defined IMU_ACCEL_Z_SENS
83 #define IMU_ACCEL_X_SENS 37.91
84 #define IMU_ACCEL_X_SENS_NUM 3791
85 #define IMU_ACCEL_X_SENS_DEN 100
86 #define IMU_ACCEL_Y_SENS 37.91
87 #define IMU_ACCEL_Y_SENS_NUM 3791
88 #define IMU_ACCEL_Y_SENS_DEN 100
89 #define IMU_ACCEL_Z_SENS 39.24
90 #define IMU_ACCEL_Z_SENS_NUM 3924
91 #define IMU_ACCEL_Z_SENS_DEN 100
92 #endif
93 
94 #endif /* IMU_GL1_DEFAULTS_H */