update serTcpOpen declaration to fix compile errors (#14113)
[betaflight.git] / src / main / pg / gimbal.h
blobf1a8a038689b86b87ffccb6abb6be0e12f88a3c0
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 #pragma once
24 #include "pg/pg.h"
25 #include "drivers/io_types.h"
27 typedef struct gimbalTrackConfig_s {
28 int8_t gimbal_roll_rc_gain;
29 int8_t gimbal_pitch_rc_thr_gain;
30 int8_t gimbal_pitch_rc_low_gain;
31 int8_t gimbal_pitch_rc_high_gain;
32 int8_t gimbal_yaw_rc_gain;
33 int8_t gimbal_roll_gain;
34 int8_t gimbal_roll_offset;
35 int8_t gimbal_roll_limit;
36 int8_t gimbal_pitch_gain;
37 int8_t gimbal_pitch_offset;
38 int8_t gimbal_pitch_low_limit;
39 int8_t gimbal_pitch_high_limit;
40 int8_t gimbal_yaw_gain;
41 int8_t gimbal_yaw_offset;
42 int8_t gimbal_yaw_limit;
43 int8_t gimbal_stabilisation;
44 int8_t gimbal_sensitivity;
45 } gimbalTrackConfig_t;
47 PG_DECLARE(gimbalTrackConfig_t, gimbalTrackConfig);