Rusty_Gunn

Flying Fish with Matek F405-WMN Diff All

Nov 22nd, 2025
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. diff all
  2.  
  3. # version
  4. # INAV/MATEKF405TE 8.0.1 Mar 28 2025 / 09:55:38 (ae47bcba)
  5. # GCC-13.2.1 20231009
  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. servo 2 1000 2000 1500 -100
  20. servo 3 1000 2000 1500 -100
  21. servo 4 1000 2000 1500 -100
  22.  
  23. # safehome
  24.  
  25. # Fixed Wing Approach
  26.  
  27. # geozone
  28.  
  29. # geozone vertices
  30.  
  31. # features
  32. feature -TX_PROF_SEL
  33. feature GPS
  34. feature PWM_OUTPUT_ENABLE
  35. feature FW_LAUNCH
  36.  
  37. # beeper
  38. beeper -RUNTIME_CALIBRATION
  39. beeper -HW_FAILURE
  40. beeper -BAT_CRIT_LOW
  41. beeper -BAT_LOW
  42. beeper -GPS_STATUS
  43. beeper -ACTION_SUCCESS
  44. beeper -ACTION_FAIL
  45. beeper -READY_BEEP
  46. beeper -DISARM_REPEAT
  47. beeper -ARMED
  48. beeper -SYSTEM_INIT
  49. beeper -ON_USB
  50. beeper -LAUNCH_MODE
  51. beeper -LAUNCH_MODE_LOW_THROTTLE
  52. beeper -LAUNCH_MODE_IDLE_START
  53. beeper -CAM_CONNECTION_OPEN
  54. beeper -CAM_CONNECTION_CLOSED
  55.  
  56. # blackbox
  57. blackbox -NAV_ACC
  58. blackbox NAV_POS
  59. blackbox NAV_PID
  60. blackbox MAG
  61. blackbox ACC
  62. blackbox ATTI
  63. blackbox RC_DATA
  64. blackbox RC_COMMAND
  65. blackbox MOTORS
  66. blackbox GYRO_RAW
  67. blackbox -PEAKS_R
  68. blackbox -PEAKS_P
  69. blackbox -PEAKS_Y
  70. blackbox SERVOS
  71.  
  72. # Receiver: Channel map
  73.  
  74. # Ports
  75. serial 2 33554432 115200 115200 0 115200
  76. serial 3 2 115200 115200 0 115200
  77.  
  78. # LEDs
  79.  
  80. # LED color
  81.  
  82. # LED mode_color
  83.  
  84. # Modes [aux]
  85. aux 0 0 0 1800 2100
  86. aux 1 51 4 1700 2100
  87. aux 2 12 1 1300 1700
  88. aux 3 11 2 1300 1700
  89. aux 4 10 2 1700 2100
  90. aux 5 21 1 1700 2100
  91. aux 6 13 3 1700 2100
  92.  
  93. # Adjustments [adjrange]
  94.  
  95. # Receiver rxrange
  96.  
  97. # temp_sensor
  98.  
  99. # Mission Control Waypoints [wp]
  100. #wp 0 invalid
  101.  
  102. # OSD [osd_layout]
  103. osd_layout 0 0 46 0 V
  104. osd_layout 0 1 12 0 H
  105. osd_layout 0 6 12 1 V
  106. osd_layout 0 7 3 0 V
  107. osd_layout 0 8 20 0 V
  108. osd_layout 0 9 11 0 V
  109. osd_layout 0 11 2 3 H
  110. osd_layout 0 12 1 4 H
  111. osd_layout 0 13 31 16 V
  112. osd_layout 0 14 7 16 V
  113. osd_layout 0 15 38 17 V
  114. osd_layout 0 20 7 17 V
  115. osd_layout 0 21 23 17 V
  116. osd_layout 0 22 19 16 V
  117. osd_layout 0 23 22 16 V
  118. osd_layout 0 28 10 1 H
  119. osd_layout 0 30 12 13 V
  120. osd_layout 0 31 13 16 V
  121. osd_layout 0 32 23 1 V
  122. osd_layout 0 40 37 16 V
  123. osd_layout 0 96 27 16 H
  124. osd_layout 0 110 37 1 V
  125. osd_layout 0 112 36 0 V
  126.  
  127. # Programming: logic
  128.  
  129. # Programming: global variables
  130.  
  131. # Programming: PID controllers
  132.  
  133. # OSD: custom elements
  134.  
  135. # master
  136. set gyro_main_lpf_hz = 90
  137. set dynamic_gyro_notch_q = 250
  138. set dynamic_gyro_notch_min_hz = 60
  139. set dynamic_gyro_notch_mode = 3D
  140. set setpoint_kalman_q = 200
  141. set gyro_zero_x = 1
  142. set gyro_zero_y = -3
  143. set ins_gravity_cmss = 983.214
  144. set gyro_adaptive_filter_min_hz = 20
  145. set acc_hardware = ICM42605
  146. set acczero_x = -1
  147. set acczero_y = -1
  148. set acczero_z = -16
  149. set accgain_x = 4092
  150. set accgain_y = 4095
  151. set accgain_z = 4087
  152. set align_mag = CW270FLIP
  153. set mag_hardware = NONE
  154. set baro_hardware = SPL06
  155. set blackbox_rate_denom = 5
  156. set motor_pwm_protocol = DSHOT300
  157. set motor_poles = 12
  158. set failsafe_procedure = RTH
  159. set current_meter_scale = 250
  160. set small_angle = 180
  161. set applied_defaults = 3
  162. set airmode_type = STICK_CENTER_ONCE
  163. set nav_wp_radius = 800
  164. set nav_wp_max_safe_distance = 500
  165. set nav_rth_climb_first = OFF
  166. set nav_rth_allow_landing = FS_ONLY
  167. set nav_rth_alt_mode = MAX
  168. set nav_rth_altitude = 10000
  169. set nav_rth_home_altitude = 10000
  170. set nav_fw_loiter_radius = 10000
  171. set nav_fw_control_smoothness = 2
  172. set nav_fw_launch_max_angle = 180
  173. set nav_fw_launch_motor_delay = 100
  174. set nav_fw_launch_max_altitude = 10000
  175. set nav_fw_launch_climb_angle = 25
  176. set osd_video_system = AVATAR
  177. set name = FLYING FISH
  178.  
  179. # control_profile
  180. control_profile 1
  181.  
  182. set fw_p_pitch = 15
  183. set fw_i_pitch = 20
  184. set fw_ff_pitch = 100
  185. set fw_p_roll = 15
  186. set fw_i_roll = 20
  187. set fw_ff_roll = 125
  188. set fw_p_yaw = 15
  189. set fw_i_yaw = 20
  190. set fw_ff_yaw = 150
  191. set rc_expo = 47
  192. set rc_yaw_expo = 47
  193. set roll_rate = 36
  194. set pitch_rate = 18
  195. set yaw_rate = 9
  196. set ez_filter_hz = 90
  197. set ez_response = 90
  198. set ez_aggressiveness = 90
  199. set ez_rate = 25
  200.  
  201. # control_profile
  202. control_profile 2
  203.  
  204.  
  205. # control_profile
  206. control_profile 3
  207.  
  208.  
  209. # mixer_profile
  210. mixer_profile 1
  211.  
  212. set platform_type = AIRPLANE
  213. set has_flaps = ON
  214. set model_preview_type = 26
  215.  
  216. # Mixer: motor mixer
  217.  
  218. mmix reset
  219.  
  220. mmix 0 1.000 0.000 0.000 0.300
  221. mmix 1 1.000 0.000 0.000 -0.300
  222.  
  223. # Mixer: servo mixer
  224. smix reset
  225.  
  226. smix 0 1 2 100 0 -1
  227. smix 1 2 0 100 0 -1
  228. smix 2 3 0 100 0 -1
  229. smix 3 4 1 100 0 -1
  230.  
  231. # mixer_profile
  232. mixer_profile 2
  233.  
  234.  
  235. # Mixer: motor mixer
  236.  
  237. # Mixer: servo mixer
  238.  
  239. # battery_profile
  240. battery_profile 1
  241.  
  242. set bat_cells = 3
  243. set vbat_warning_cell_voltage = 360
  244. set throttle_idle = 5.000
  245. set nav_fw_cruise_thr = 1600
  246. set nav_fw_max_thr = 1800
  247. set nav_fw_launch_thr = 1800
  248.  
  249. # battery_profile
  250. battery_profile 2
  251.  
  252. set throttle_idle = 5.000
  253.  
  254. # battery_profile
  255. battery_profile 3
  256.  
  257. set throttle_idle = 5.000
  258.  
  259. # restore original profile selection
  260. control_profile 1
  261. mixer_profile 1
  262. battery_profile 1
  263.  
  264. # save configuration
  265. save
  266.  
  267. #
Advertisement
Add Comment
Please, Sign In to add comment