Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
autopilot_arming_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Gautier Hattenberger <gautier.hattenberger@enac.fr>
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, see
18  * <http://www.gnu.org/licenses/>.
19  */
20 
27 #ifndef AUTOPILOT_ARMING_COMMON_H
28 #define AUTOPILOT_ARMING_COMMON_H
29 
30 #include "autopilot_rc_helpers.h"
31 
32 /* Arming status*/
33 #define AP_ARMING_STATUS_NO_RC 0
34 #define AP_ARMING_STATUS_WAITING 1
35 #define AP_ARMING_STATUS_ARMING 2
36 #define AP_ARMING_STATUS_ARMED 3
37 #define AP_ARMING_STATUS_DISARMING 4
38 #define AP_ARMING_STATUS_KILLED 5
39 #define AP_ARMING_STATUS_YAW_CENTERED 6
40 #define AP_ARMING_STATUS_THROTTLE_DOWN 7
41 #define AP_ARMING_STATUS_NOT_MODE_MANUAL 8
42 #define AP_ARMING_STATUS_UNARMED_IN_AUTO 9
43 #define AP_ARMING_STATUS_THROTTLE_NOT_DOWN 10
44 #define AP_ARMING_STATUS_STICKS_NOT_CENTERED 11
45 #define AP_ARMING_STATUS_PITCH_NOT_CENTERED 12
46 #define AP_ARMING_STATUS_ROLL_NOT_CENTERED 13
47 #define AP_ARMING_STATUS_YAW_NOT_CENTERED 14
48 
49 #endif /* AUTOPILOT_ARMING_COMMON_H */