AT32F435 SD card support (#14018)
[betaflight.git] / src / main / pg / autopilot_multirotor.c
blob898cfdc205281d884f8dcb69f3cbcdbc0dee6a14
1 /*
2 * This file is part of Betaflight.
4 * Betaflight is free software. You can redistribute this software
5 * and/or modify this software under the terms of the GNU General
6 * Public License as published by the Free Software Foundation,
7 * either version 3 of the License, or (at your option) any later
8 * version.
10 * Betaflight is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this software.
19 * If not, see <http://www.gnu.org/licenses/>.
22 #include "platform.h"
24 #ifndef USE_WING
26 #include "flight/autopilot.h"
28 #include "pg/pg.h"
29 #include "pg/pg_ids.h"
31 #include "autopilot.h"
33 PG_REGISTER_WITH_RESET_TEMPLATE(apConfig_t, apConfig, PG_AUTOPILOT, 2);
35 PG_RESET_TEMPLATE(apConfig_t, apConfig,
36 .landing_altitude_m = 4,
37 .hover_throttle = 1275,
38 .throttle_min = 1100,
39 .throttle_max = 1700,
40 .altitude_P = 15,
41 .altitude_I = 15,
42 .altitude_D = 15,
43 .altitude_F = 15,
44 .position_P = 30,
45 .position_I = 30,
46 .position_D = 30,
47 .position_A = 30,
48 .position_cutoff = 80,
49 .max_angle = 50,
52 #endif // !USE_WING