Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_aspirin_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_ASPIRIN_DEFAULTS_H
29 #define IMU_ASPIRIN_DEFAULTS_H
30 
31 #include "generated/airframe.h"
32 
33 #if !defined IMU_GYRO_P_SENS & !defined IMU_GYRO_Q_SENS & !defined IMU_GYRO_R_SENS
34 #ifdef IMU_ASPIRIN_VERSION_1_5
35 
40 #define IMU_GYRO_P_SENS 4.359
41 #define IMU_GYRO_P_SENS_NUM 4359
42 #define IMU_GYRO_P_SENS_DEN 1000
43 #define IMU_GYRO_Q_SENS 4.359
44 #define IMU_GYRO_Q_SENS_NUM 4359
45 #define IMU_GYRO_Q_SENS_DEN 1000
46 #define IMU_GYRO_R_SENS 4.359
47 #define IMU_GYRO_R_SENS_NUM 4359
48 #define IMU_GYRO_R_SENS_DEN 1000
49 #else
50 
55 #define IMU_GYRO_P_SENS 4.973
56 #define IMU_GYRO_P_SENS_NUM 4973
57 #define IMU_GYRO_P_SENS_DEN 1000
58 #define IMU_GYRO_Q_SENS 4.973
59 #define IMU_GYRO_Q_SENS_NUM 4973
60 #define IMU_GYRO_Q_SENS_DEN 1000
61 #define IMU_GYRO_R_SENS 4.973
62 #define IMU_GYRO_R_SENS_NUM 4973
63 #define IMU_GYRO_R_SENS_DEN 1000
64 #endif // IMU_ASPIRIN_VERSION_1_5
65 #endif
66 
67 
79 #if !defined IMU_ACCEL_X_SENS & !defined IMU_ACCEL_Y_SENS & !defined IMU_ACCEL_Z_SENS
80 #define IMU_ACCEL_X_SENS 37.91
81 #define IMU_ACCEL_X_SENS_NUM 3791
82 #define IMU_ACCEL_X_SENS_DEN 100
83 #define IMU_ACCEL_Y_SENS 37.91
84 #define IMU_ACCEL_Y_SENS_NUM 3791
85 #define IMU_ACCEL_Y_SENS_DEN 100
86 #define IMU_ACCEL_Z_SENS 39.24
87 #define IMU_ACCEL_Z_SENS_NUM 3924
88 #define IMU_ACCEL_Z_SENS_DEN 100
89 #endif
90 
91 #endif /* IMU_ASPIRIN_DEFAULTS_H */