Advertisement
Guest User

Untitled

a guest
Jul 16th, 2024
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.99 KB | None | 0 0
  1. diff all
  2.  
  3. # version
  4. # INAV/SPEEDYBEEF405WING 7.1.2 Jun 1 2024 / 00:47:23 (4e1e59eb)
  5. # GCC-10.3.1 20210824 (release)
  6.  
  7. # start the command batch
  8. batch start
  9.  
  10. # reset configuration to default settings
  11. defaults noreboot
  12.  
  13. # resources
  14.  
  15. # Timer overrides
  16.  
  17. # Outputs [servo]
  18. servo 1 1000 2000 1500 -100
  19.  
  20. # safehome
  21.  
  22. # Fixed Wing Approach
  23.  
  24. # features
  25. feature GPS
  26. feature PWM_OUTPUT_ENABLE
  27. feature FW_LAUNCH
  28. feature FW_AUTOTRIM
  29.  
  30. # beeper
  31.  
  32. # blackbox
  33. blackbox -NAV_ACC
  34. blackbox NAV_POS
  35. blackbox NAV_PID
  36. blackbox MAG
  37. blackbox ACC
  38. blackbox ATTI
  39. blackbox RC_DATA
  40. blackbox RC_COMMAND
  41. blackbox MOTORS
  42. blackbox -GYRO_RAW
  43. blackbox -PEAKS_R
  44. blackbox -PEAKS_P
  45. blackbox -PEAKS_Y
  46.  
  47. # Receiver: Channel map
  48.  
  49. # Ports
  50. serial 0 0 115200 115200 0 115200
  51. serial 1 64 115200 115200 0 115200
  52. serial 4 33554432 115200 115200 0 115200
  53.  
  54. # LEDs
  55.  
  56. # LED color
  57.  
  58. # LED mode_color
  59.  
  60. # Modes [aux]
  61. aux 0 0 4 1800 2100
  62. aux 1 2 0 900 1300
  63. aux 2 12 0 1700 2100
  64. aux 3 10 2 1600 2100
  65. aux 4 21 1 1800 2100
  66. aux 5 54 1 900 1200
  67. aux 6 13 3 1800 2100
  68.  
  69. # Adjustments [adjrange]
  70.  
  71. # Receiver rxrange
  72.  
  73. # temp_sensor
  74.  
  75. # Mission Control Waypoints [wp]
  76. #wp 0 invalid
  77.  
  78. # OSD [osd_layout]
  79. osd_layout 0 0 50 0 V
  80. osd_layout 0 1 43 19 V
  81. osd_layout 0 2 0 0 V
  82. osd_layout 0 3 8 6 V
  83. osd_layout 0 7 44 0 V
  84. osd_layout 0 9 13 11 V
  85. osd_layout 0 11 31 19 V
  86. osd_layout 0 12 24 19 V
  87. osd_layout 0 13 14 10 V
  88. osd_layout 0 14 6 17 V
  89. osd_layout 0 15 34 10 V
  90. osd_layout 0 20 0 19 V
  91. osd_layout 0 21 0 18 V
  92. osd_layout 0 22 26 4 V
  93. osd_layout 0 23 24 3 V
  94. osd_layout 0 24 24 1 V
  95. osd_layout 0 25 29 6 H
  96. osd_layout 0 26 36 11 V
  97. osd_layout 0 28 0 0 V
  98. osd_layout 0 29 8 0 V
  99. osd_layout 0 30 13 14 V
  100. osd_layout 0 31 0 17 V
  101. osd_layout 0 32 36 19 V
  102. osd_layout 0 34 22 0 V
  103. osd_layout 0 35 0 2 V
  104. osd_layout 0 40 0 1 V
  105. osd_layout 0 46 0 15 V
  106. osd_layout 0 96 34 9 V
  107. osd_layout 0 100 0 14 V
  108. osd_layout 0 105 50 1 V
  109. osd_layout 0 125 6 7 H
  110. osd_layout 0 138 0 4 H
  111.  
  112. # Programming: logic
  113.  
  114. # Programming: global variables
  115.  
  116. # Programming: PID controllers
  117.  
  118. # OSD: custom elements
  119.  
  120. # master
  121. set gyro_main_lpf_hz = 25
  122. set dynamic_gyro_notch_q = 250
  123. set dynamic_gyro_notch_min_hz = 30
  124. set gyro_zero_x = -3
  125. set gyro_zero_y = 2
  126. set gyro_zero_z = 9
  127. set ins_gravity_cmss = 980.465
  128. set acc_hardware = ICM42605
  129. set acczero_x = -11
  130. set acczero_y = 9
  131. set acczero_z = 58
  132. set accgain_x = 4094
  133. set accgain_y = 4095
  134. set accgain_z = 4100
  135. set align_mag = CW90FLIP
  136. set mag_hardware = NONE
  137. set magzero_x = 30
  138. set magzero_y = 963
  139. set magzero_z = -30
  140. set maggain_x = 1373
  141. set maggain_y = 1383
  142. set maggain_z = 1432
  143. set baro_hardware = SPL06
  144. set serialrx_provider = SBUS
  145. set motor_pwm_protocol = STANDARD
  146. set motor_poles = 9
  147. set failsafe_procedure = RTH
  148. set align_board_yaw = 1800
  149. set servo_pwm_rate = 100
  150. set small_angle = 180
  151. set applied_defaults = 4
  152. set gps_sbas_mode = AUTO
  153. set gps_ublox_use_galileo = ON
  154. set gps_ublox_use_beidou = ON
  155. set gps_ublox_use_glonass = ON
  156. set airmode_type = STICK_CENTER_ONCE
  157. set nav_wp_radius = 1000
  158. set nav_wp_max_safe_distance = 500
  159. set nav_rth_allow_landing = NEVER
  160. set nav_rth_altitude = 15000
  161. set nav_fw_bank_angle = 45
  162. set nav_fw_control_smoothness = 2
  163. set nav_fw_launch_max_angle = 75
  164. set nav_fw_launch_motor_delay = 100
  165. set nav_fw_launch_timeout = 10000
  166. set nav_fw_launch_max_altitude = 10000
  167. set nav_fw_launch_climb_angle = 30
  168. set osd_video_system = BFHDCOMPAT
  169. set osd_time_alarm = 0
  170. set osd_alt_alarm = 150
  171. set osd_dist_alarm = 2000
  172. set osd_neg_alt_alarm = 0
  173. set osd_crosshairs_style = TYPE3
  174. set name = DART250
  175. set tz_offset = 60
  176. set tz_automatic_dst = EU
  177.  
  178. # mixer_profile
  179. mixer_profile 1
  180.  
  181. set platform_type = AIRPLANE
  182. set model_preview_type = 8
  183. set motorstop_on_low = ON
  184.  
  185. # Mixer: motor mixer
  186.  
  187. mmix reset
  188.  
  189. mmix 0 1.000 0.000 0.000 0.000
  190.  
  191. # Mixer: servo mixer
  192. smix reset
  193.  
  194. smix 0 1 0 50 0 -1
  195. smix 1 1 1 50 0 -1
  196. smix 2 2 0 -50 0 -1
  197. smix 3 2 1 50 0 -1
  198.  
  199. # mixer_profile
  200. mixer_profile 2
  201.  
  202.  
  203. # Mixer: motor mixer
  204.  
  205. # Mixer: servo mixer
  206.  
  207. # profile
  208. profile 1
  209.  
  210. set fw_p_pitch = 15
  211. set fw_i_pitch = 5
  212. set fw_d_pitch = 5
  213. set fw_ff_pitch = 70
  214. set fw_p_roll = 15
  215. set fw_i_roll = 3
  216. set fw_d_roll = 7
  217. set fw_p_yaw = 20
  218. set fw_i_yaw = 0
  219. set fw_ff_yaw = 100
  220. set max_angle_inclination_rll = 550
  221. set dterm_lpf_hz = 10
  222. set fw_turn_assist_pitch_gain = 0.300
  223. set nav_fw_pos_z_p = 35
  224. set nav_fw_pos_xy_p = 70
  225. set d_boost_min = 1.000
  226. set d_boost_max = 1.000
  227. set rc_expo = 30
  228. set rc_yaw_expo = 30
  229. set roll_rate = 18
  230. set pitch_rate = 9
  231. set yaw_rate = 3
  232.  
  233. # profile
  234. profile 2
  235.  
  236. set max_angle_inclination_rll = 600
  237. set max_angle_inclination_pit = 600
  238. set fw_level_pitch_trim = 2.000
  239.  
  240. # profile
  241. profile 3
  242.  
  243.  
  244. # battery_profile
  245. battery_profile 1
  246.  
  247. set vbat_min_cell_voltage = 300
  248. set vbat_warning_cell_voltage = 320
  249. set throttle_idle = 5.000
  250. set nav_fw_launch_thr = 2000
  251.  
  252. # battery_profile
  253. battery_profile 2
  254.  
  255.  
  256. # battery_profile
  257. battery_profile 3
  258.  
  259.  
  260. # restore original profile selection
  261. mixer_profile 1
  262. profile 2
  263. battery_profile 1
  264.  
  265. # save configuration
  266. save
  267.  
  268. #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement