-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinav_caipirinha2.cfg
193 lines (164 loc) · 3.73 KB
/
inav_caipirinha2.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# INAV/MATEKF722SE 2.6.0 Dec 4 2020 / 12:21:50 (cada68e4)
# GCC-9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
# start the command batch
batch start
# resources
# mixer
mmix reset
mmix 0 1.000 0.000 0.000 0.000
# servo mix
smix reset
smix 0 3 1 50 0 -1
smix 1 3 0 50 0 -1
smix 2 4 1 50 0 -1
smix 3 4 0 -50 0 -1
# servo
servo 3 800 1900 1350 -100
servo 4 1200 2350 1775 100
# safehome
# logic
# gvar
# feature
feature BAT_PROF_AUTOSWITCH
feature MOTOR_STOP
feature GPS
feature LED_STRIP
feature PWM_OUTPUT_ENABLE
# beeper
beeper -BAT_CRIT_LOW
beeper -BAT_LOW
# map
# serial
serial 2 1 57600 115200 0 115200
serial 3 2 115200 115200 0 115200
# led
# color
# mode_color
mode_color 6 7 8
# aux
aux 0 0 0 1900 2100
aux 1 1 1 900 1075
aux 2 3 3 1400 1600
aux 3 11 2 1400 1600
aux 4 10 2 1900 2100
aux 5 28 5 1900 2100
aux 6 45 1 1900 2100
aux 7 36 3 1900 2100
aux 8 37 6 1900 2100
aux 9 21 4 1900 2100
# adjrange
# rxrange
# temp_sensor
# osd_layout
osd_layout 0 0 19 0 H
osd_layout 0 1 12 13 H
osd_layout 0 2 0 0 V
osd_layout 0 4 8 6 H
osd_layout 0 7 13 11 V
osd_layout 0 8 1 12 V
osd_layout 0 9 1 2 H
osd_layout 0 11 16 12 V
osd_layout 0 12 21 12 V
osd_layout 0 13 24 3 V
osd_layout 0 14 24 1 V
osd_layout 0 15 1 3 V
osd_layout 0 22 14 1 V
osd_layout 0 23 12 0 V
osd_layout 0 26 1 4 V
osd_layout 0 28 1 1 V
osd_layout 0 30 1 10 V
osd_layout 0 32 9 12 V
osd_layout 0 34 10 2 H
osd_layout 0 35 24 4 V
osd_layout 0 40 1 2 V
osd_layout 0 45 0 0 V
osd_layout 0 85 23 4 H
osd_layout 0 87 24 0 H
osd_layout 0 110 23 2 V
# master
set gyro_hardware_lpf = 256HZ
set gyro_lpf_hz = 40
set acc_hardware = MPU6000
set acczero_x = 96
set acczero_y = -26
set acczero_z = -235
set accgain_x = 4086
set accgain_y = 4062
set accgain_z = 4004
set align_mag = CW270FLIP
set mag_hardware = HMC5883
set magzero_x = 37
set magzero_y = -80
set magzero_z = -10
set baro_hardware = BMP280
set pitot_hardware = NONE
set rssi_channel = 12
set serialrx_provider = CRSF
set blackbox_rate_denom = 2
set max_throttle = 2000
set motor_pwm_protocol = STANDARD
set failsafe_procedure = RTH
set current_meter_scale = 250
set platform_type = AIRPLANE
set model_preview_type = 8
set small_angle = 180
set applied_defaults = 3
set gps_provider = UBLOX7
set gps_sbas_mode = EGNOS
set gps_ublox_use_galileo = ON
set gps_min_sats = 5
set nav_extra_arming_safety = OFF
set nav_wp_radius = 5000
set nav_wp_safe_distance = 50000
set nav_rth_allow_landing = NEVER
set nav_rth_alt_mode = EXTRA
set nav_rth_altitude = 5000
set nav_fw_bank_angle = 30
set nav_fw_climb_angle = 30
set nav_fw_dive_angle = 20
set nav_fw_loiter_radius = 4000
set nav_fw_control_smoothness = 2
set nav_fw_launch_velocity = 150
set nav_fw_launch_accel = 1400
set nav_fw_launch_max_angle = 180
set nav_fw_launch_thr = 2000
set nav_fw_launch_motor_delay = 250
set nav_fw_launch_spinup_time = 300
set nav_fw_launch_timeout = 30000
set osd_video_system = NTSC
set osd_rssi_alarm = 0
set osd_time_alarm = 0
set osd_alt_alarm = 0
set osd_dist_alarm = 0
set osd_neg_alt_alarm = 0
set osd_imu_temp_alarm_min = 0
set osd_imu_temp_alarm_max = 0
set osd_baro_temp_alarm_min = 0
set osd_baro_temp_alarm_max = 0
set osd_crsf_lq_format = TYPE2
set osd_hud_margin_v = 1
set osd_hud_homepoint = ON
set osd_hud_radar_disp = 4
set osd_hud_radar_range_min = 1
set osd_hud_wp_disp = 2
set osd_left_sidebar_scroll = GROUND_SPEED
set osd_right_sidebar_scroll = ALTITUDE
set osd_sidebar_scroll_arrows = ON
set osd_coordinate_digits = 8
set name = RK
# profile
profile 2
set fw_p_pitch = 6
set fw_i_pitch = 14
set fw_ff_pitch = 64
set fw_p_roll = 4
set fw_i_roll = 9
set fw_ff_roll = 42
# battery_profile
battery_profile 1
set bat_cells = 4
set vbat_min_cell_voltage = 300
set vbat_warning_cell_voltage = 310
set battery_capacity = 9000
# end the command batch
batch end