Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
autopilot_arming.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 
32 #ifndef AUTOPILOT_ARMING_H
33 #define AUTOPILOT_ARMING_H
34 
35 /* Include arming procedure, yaw stick by default */
36 #if USE_KILL_SWITCH_FOR_MOTOR_ARMING
38 PRINT_CONFIG_MSG("Using kill switch for motor arming")
39 #elif USE_THROTTLE_FOR_MOTOR_ARMING
41 PRINT_CONFIG_MSG("Using throttle for motor arming")
42 #else
43 #include "autopilot_arming_yaw.h"
44 PRINT_CONFIG_MSG("Using 2 sec yaw for motor arming")
45 #endif
46 
47 #endif /* AUTOPILOT_ARMING_H */
autopilot_arming_throttle.h
autopilot_arming_switch.h
PRINT_CONFIG_MSG
PRINT_CONFIG_MSG("USE_INS_NAV_INIT defaulting to TRUE")
autopilot_arming_yaw.h