AT32F435 SD card support (#14018)
[betaflight.git] / src / main / pg / gps_rescue_multirotor.h
blob28ff8b52aebf105bd5012251a38973d972c6fa4b
1 /*
2 * This file is part of Cleanflight and Betaflight.
4 * Cleanflight and Betaflight are free software. You can redistribute
5 * this software and/or modify this software under the terms of the
6 * GNU General Public License as published by the Free Software
7 * Foundation, either version 3 of the License, or (at your option)
8 * any later version.
10 * Cleanflight and Betaflight are distributed in the hope that they
11 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
12 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this software.
18 * If not, see <http://www.gnu.org/licenses/>.
21 #pragma once
23 #ifndef USE_WING
25 #include <stdint.h>
27 #include "pg/pg.h"
29 typedef struct gpsRescue_s {
31 uint16_t maxRescueAngle; // degrees
32 uint16_t returnAltitudeM; // meters
33 uint16_t descentDistanceM; // meters
34 uint16_t groundSpeedCmS; // centimeters per second
35 uint8_t yawP;
36 uint8_t minSats;
37 uint8_t velP, velI, velD;
38 uint16_t minStartDistM; // meters
39 uint8_t sanityChecks;
40 uint8_t allowArmingWithoutFix;
41 uint8_t useMag;
42 uint8_t altitudeMode;
43 uint16_t ascendRate;
44 uint16_t descendRate;
45 uint16_t initialClimbM; // meters
46 uint8_t rollMix;
47 uint8_t disarmThreshold;
48 uint8_t pitchCutoffHz;
49 uint8_t imuYawGain;
50 } gpsRescueConfig_t;
52 PG_DECLARE(gpsRescueConfig_t, gpsRescueConfig);
54 #endif // !USE_WING