Skip to content

Commit

Permalink
Push UAV Tech Presets to 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
spatzengr committed Nov 16, 2023
1 parent 6a38862 commit 99c7f49
Show file tree
Hide file tree
Showing 15 changed files with 1,663 additions and 0 deletions.
53 changes: 53 additions & 0 deletions presets/4.5/osd/UAV_tech_Analog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
#$ TITLE: UAV Tech - Analog
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: OSD
#$ STATUS: COMMUNITY
#$ KEYWORDS: analog
#$ AUTHOR: UAV Tech (Mark Spatz)

#$ PARSER: MARKED

#$ DESCRIPTION: I am a Betaflight contributor, Youtube content creator, and professional tuner [www.theuavtech.com](https://www.theuavtech.com)
#$ DESCRIPTION:
#$ DESCRIPTION: <img src="https://i0.wp.com/theuavtech.com/wp-content/uploads/2020/10/icon-150x150-1.png" width="125px" style="margin-left: auto; margin-right: auto; display: block;"/>
#$ DESCRIPTION:
#$ DESCRIPTION: Information:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: Geneeral analog OSD Setup. Layout was based on **NTSC** so if you need use the **PAL** format you may need to adjust element locations.
#$ DESCRIPTION:
#$ DESCRIPTION: OSD Elements Include:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: Vbat, Amps, mAh drawn, Armed Time, Time Remaining, VTX Channel, VTX Power, Uplink Power, RSSI, etc...
#$ DESCRIPTION:
#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/211
#$ INCLUDE: presets/4.3/osd/defaults.txt

set osd_warn_core_temp = OFF
set osd_warn_fail_safe = OFF
set osd_warn_rssi = ON
set osd_rssi_alarm = 30
set osd_cap_alarm = 1200
set osd_alt_alarm = 400
set osd_rssi_pos = 2098
set osd_link_tx_power_pos = 2113
set osd_tim_1_pos = 449
set osd_tim_2_pos = 2465
set osd_remaining_time_estimate_pos = 2498
set osd_g_force_pos = 2489
set osd_vtx_channel_pos = 2081
set osd_current_pos = 2102
set osd_mah_drawn_pos = 2136
set osd_altitude_pos = 2518
set osd_pid_roll_pos = 33
set osd_pid_pitch_pos = 65
set osd_pid_yaw_pos = 97
set osd_warnings_pos = 2249
set osd_avg_cell_voltage_pos = 2091
set osd_flip_arrow_pos = 2221
set osd_core_temp_pos = 467
set osd_log_status_pos = 2458
set osd_stat_tim_1 = ON
set osd_stat_endbatt = ON
set osd_stat_max_alt = ON
set osd_stat_max_g_force = ON
set osd_menu_background = GRAY
46 changes: 46 additions & 0 deletions presets/4.5/osd/UAV_tech_DJI.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#$ TITLE: UAV Tech - DJI
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: OSD
#$ STATUS: COMMUNITY
#$ KEYWORDS: DJI
#$ AUTHOR: UAV Tech (Mark Spatz)

#$ PARSER: MARKED

#$ DESCRIPTION: I am a Betaflight contributor, Youtube content creator, and professional tuner [www.theuavtech.com](https://www.theuavtech.com)
#$ DESCRIPTION:
#$ DESCRIPTION: <img src="https://i0.wp.com/theuavtech.com/wp-content/uploads/2020/10/icon-150x150-1.png" width="125px" style="margin-left: auto; margin-right: auto; display: block;"/>
#$ DESCRIPTION:
#$ DESCRIPTION: Information:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: General DJI OSD setup. Make sure to have Custom OSD enabled in your DJI Goggles for Betaflight elements to display.
#$ DESCRIPTION:
#$ DESCRIPTION: OSD Elements Include:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: Includes: Vbat, Amps, MaH drawn, etc...
#$ DESCRIPTION:
#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/212
#$ INCLUDE: presets/4.3/osd/defaults.txt

set osd_cap_alarm = 1000
set osd_alt_alarm = 400
set osd_rssi_pos = 6163
set osd_tim_2_pos = 266
set osd_remaining_time_estimate_pos = 299
set osd_current_pos = 6164
set osd_mah_drawn_pos = 6198
set osd_gps_speed_pos = 100
set osd_gps_lon_pos = 67
set osd_gps_lat_pos = 35
set osd_gps_sats_pos = 4
set osd_home_dir_pos = 9
set osd_home_dist_pos = 12
set osd_flight_dist_pos = 79
set osd_compass_bar_pos = 41
set osd_altitude_pos = 131
set osd_warnings_pos = 6313
set osd_avg_cell_voltage_pos = 6158
set osd_battery_usage_pos = 40
set osd_disarmed_pos = 6252
set osd_nvario_pos = 164
set osd_rtc_date_time_pos = 8
46 changes: 46 additions & 0 deletions presets/4.5/osd/UAV_tech_DJI_GPS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#$ TITLE: UAV Tech - DJI with GPS
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: OSD
#$ STATUS: COMMUNITY
#$ KEYWORDS: DJI, GPS
#$ AUTHOR: UAV Tech (Mark Spatz)

#$ PARSER: MARKED

#$ DESCRIPTION: I am a Betaflight contributor, Youtube content creator, and professional tuner [www.theuavtech.com](https://www.theuavtech.com)
#$ DESCRIPTION:
#$ DESCRIPTION: <img src="https://i0.wp.com/theuavtech.com/wp-content/uploads/2020/10/icon-150x150-1.png" width="125px" style="margin-left: auto; margin-right: auto; display: block;"/>
#$ DESCRIPTION:
#$ DESCRIPTION: Information:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: General DJI **with GPS** OSD setup. Make sure to have Custom OSD enabled in your DJI Goggles for Betaflight elements to display.
#$ DESCRIPTION:
#$ DESCRIPTION: OSD Elements Include:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: Vbat, Amps, mAh drawn, Armed Time, Time Remaining, VTX Channel, VTX Power, Uplink Power, RSSI, etc...
#$ DESCRIPTION:
#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/213
#$ INCLUDE: presets/4.3/osd/defaults.txt

set osd_cap_alarm = 1000
set osd_alt_alarm = 400
set osd_rssi_pos = 2067
set osd_tim_2_pos = 266
set osd_remaining_time_estimate_pos = 299
set osd_current_pos = 2068
set osd_mah_drawn_pos = 2102
set osd_gps_speed_pos = 2148
set osd_gps_lon_pos = 2115
set osd_gps_lat_pos = 2083
set osd_gps_sats_pos = 2052
set osd_home_dir_pos = 2057
set osd_home_dist_pos = 2060
set osd_flight_dist_pos = 79
set osd_compass_bar_pos = 41
set osd_altitude_pos = 2179
set osd_warnings_pos = 6313
set osd_avg_cell_voltage_pos = 2062
set osd_battery_usage_pos = 40
set osd_disarmed_pos = 2156
set osd_nvario_pos = 2212
set osd_rtc_date_time_pos = 8
55 changes: 55 additions & 0 deletions presets/4.5/rates/UAV_tech.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#$ TITLE: UAV Tech Rates (w/ Cinematic/Whoop Options)
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: RATES
#$ STATUS: COMMUNITY
#$ KEYWORDS: whoop, freetyle, cinematic, HD
#$ AUTHOR: UAV Tech (Mark Spatz)

#$ PARSER: MARKED

#$ DESCRIPTION: I am a Betaflight contributor, Youtube content creator, and professional tuner [www.theuavtech.com](https://www.theuavtech.com)
#$ DESCRIPTION:
#$ DESCRIPTION: <img src="https://i0.wp.com/theuavtech.com/wp-content/uploads/2020/10/icon-150x150-1.png" width="125px" style="margin-left: auto; margin-right: auto; display: block;"/>
#$ DESCRIPTION:
#$ DESCRIPTION: Information:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: FREESTYLE: 1000 degrees/sec for roll and pitch, 700 - for yaw. Smooth at center stick but still snappy at the edges.
#$ DESCRIPTION:
#$ DESCRIPTION: OPTIONS:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: - CINEMATIC/HD: Same max rates, but adds more smoothing (Expo.) at center stick for smooth transitions when you pass over stick centers (improved "skating" HD footage).
#$ DESCRIPTION: - WHOOP: For whoop racing in Angle/Horizon Modes. Adjust Yaw rate and also Angle/Horizon Strenght, Level Limit and Transition. It along with adds 0.5 Throttle Expo at the 45% throttle.
#$ DESCRIPTION:
#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/216
#$ INCLUDE: presets/4.3/rates/defaults.txt

set rates_type = ACTUAL
set roll_rc_rate = 1
set pitch_rc_rate = 1
set yaw_rc_rate = 1
set roll_expo = 55
set pitch_expo = 55
set yaw_expo = 55
set roll_srate = 100
set pitch_srate = 100
set yaw_srate = 70

#$ OPTION BEGIN (UNCHECKED): Cinematic/HD Smoothing
# -- ADDER: Cinematic/HD Expo --
set roll_expo = 70
set pitch_expo = 70
set yaw_expo = 70
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): Whooping in Angle\Horizon Mode
# -- ADDER: Whoop Yaw, Angle & Horizon Settings --
set thr_mid = 45
set thr_expo = 50
set yaw_rc_rate = 10
set yaw_expo = 25
set yaw_srate = 60
set angle_level_strength = 70
set horizon_level_strength = 70
set horizon_transition = 100
set level_limit = 85
#$ OPTION END
130 changes: 130 additions & 0 deletions presets/4.5/tune/uav_tech/UAV_tech_10in.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
#$ TITLE: UAV Tech - 10" (1400-1700g | 31xx motors)
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: TUNE
#$ STATUS: COMMUNITY
#$ KEYWORDS: 4S, 6S, 10in, 10", freestyle
#$ AUTHOR: UAV Tech (Mark Spatz)

#$ PARSER: MARKED

#$ DESCRIPTION: I am a Betaflight contributor, Youtube content creator, and professional tuner [www.theuavtech.com](https://www.theuavtech.com)
#$ DESCRIPTION:
#$ DESCRIPTION: - [Preset Overview Video](https://youtu.be/dEuNa-V6pys)
#$ DESCRIPTION:
#$ DESCRIPTION:
#$ DESCRIPTION: Preset for this class of quadcopters:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: <img src="https://theuavtech.com/wp-content/uploads/2023/02/10inSuperG.jpg" width="350px"/>
#$ DESCRIPTION:
#$ DESCRIPTION: Description:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: Base tune for a 10in quad with HD camera, approximate weight 1,400 to 1,700 grams. This tune is good for 4S or 6S batteries. The base preset assume you have your ESC set to 24K PWM (default). If you are on 48K+ ESC PWM, click that option above. Also if you would like to use with the RPM filtering or Dynamic Idle, click the option above. If you don't know what these features mean, click the links below for videos on each topic.
#$ DESCRIPTION:
#$ DESCRIPTION:
#$ DESCRIPTION: Tune MOTOR size:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: Builds with 31xx motors
#$ DESCRIPTION:
#$ DESCRIPTION:
#$ DESCRIPTION: <img src="https://i0.wp.com/theuavtech.com/wp-content/uploads/2020/10/icon-150x150-1.png" width="100px" style="margin-left: auto; margin-right: auto; display: block;"/>
#$ DESCRIPTION:
#$ DESCRIPTION: Options (click for video):
#$ DESCRIPTION: -----------
#$ DESCRIPTION: - [What is ESC PWM Frequency?](https://youtu.be/v3806Incpvo)
#$ DESCRIPTION: - [HIGH vs. low PWM Frequency](https://youtu.be/ibMbsi09vVo)
#$ DESCRIPTION:
#$ DESCRIPTION: (Recommendation: 24k | make sure to adjust in ESC settings)
#$ DESCRIPTION:
#$ DESCRIPTION: - [What is the RPM Filter?](https://youtu.be/ve_TNB0D87U)
#$ DESCRIPTION: - [RPM vs. Dynamic Notch ONLY](https://youtu.be/ve_TNB0D87U)
#$ DESCRIPTION:
#$ DESCRIPTION: - [What is Dynamic Idle?](https://youtu.be/2Mr-AP7K8YE)
#$ DESCRIPTION:
#$ DESCRIPTION: Need more HELP?
#$ DESCRIPTION: -----------
#$ DESCRIPTION: - [UAV Tech Discord](https://discordapp.com/invite/rCCzgeT)
#$ DESCRIPTION: - [Take it to the NEXT LEVEL!](https://theuavtech.com/tuning)
#$ DESCRIPTION:
#$ WARNING: **DO NOT** select the RPM Filter option unless your ESCs support DSHOT and Bi-Directional Communication. If you are unsure, HIT CANCEL and de-select that option, OTHERWISE it can spin up motors even before you arm your quad!!!
#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/350
#$ INCLUDE: presets/4.4/tune/defaults.txt
#$ INCLUDE: presets/4.3/filters/defaults.txt

# -- PID Settings --
set simplified_master_multiplier = 80
set simplified_pi_gain = 100
set simplified_d_gain = 170
set simplified_dmax_gain = 0
set simplified_feedforward_gain = 200
set simplified_pitch_d_gain = 100
set simplified_pitch_pi_gain = 100
set anti_gravity_gain = 80
set pidsum_limit = 1000
set pidsum_limit_yaw = 1000

#$ OPTION_GROUP BEGIN: Choose ONE Filter option (+ RPM filter if desired)
#$ OPTION BEGIN (UNCHECKED): low Build Quality
# -- ADDER: For HIGH gyro vibration builds --
set simplified_gyro_filter = ON
set simplified_gyro_filter_multiplier = 30
set simplified_dterm_filter = ON
set simplified_dterm_filter_multiplier = 80
set dyn_notch_count = 4
set dyn_notch_min_hz = 100
set dyn_notch_max_hz = 650
set yaw_lowpass_hz = 0
#$ OPTION END

#$ OPTION BEGIN (CHECKED): Medium Build Quality
# -- ADDER: For Medium gyro vibration builds --
set simplified_gyro_filter = ON
set simplified_gyro_filter_multiplier = 60
set simplified_dterm_filter = ON
set simplified_dterm_filter_multiplier = 100
set dyn_notch_count = 3
set dyn_notch_min_hz = 125
set dyn_notch_max_hz = 650
set yaw_lowpass_hz = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): HIGH Build Quality
# -- ADDER: For low gyro vibration builds --
set simplified_gyro_filter = ON
set simplified_gyro_filter_multiplier = 100
set simplified_dterm_filter = ON
set simplified_dterm_filter_multiplier = 120
set dyn_notch_count = 2
set dyn_notch_min_hz = 125
set dyn_notch_max_hz = 550
set yaw_lowpass_hz = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): ... + enable RPM filter (if supported)
# -- ADDER: Enabled RPM filtering --
set motor_pwm_protocol = DSHOT600
set dshot_bidir = ON
set rpm_filter_harmonics = 2
set dyn_notch_count = 2
#$ OPTION END
#$ OPTION_GROUP END

#$ OPTION_GROUP BEGIN: ESC PWM Options ...
#$ OPTION BEGIN (CHECKED): 16 & 24k ESC PWM Settings
# -- ADDER: For 16 & 24k ESC PWM Settings --
set thrust_linear = 0
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): 48k+ ESC PWM Settings
# -- ADDER: For 48k+ ESC PWM Settings --
set thrust_linear = 25
#$ OPTION END
#$ OPTION_GROUP END

#$ OPTION_GROUP BEGIN: Prop Wash Performance Booster ...
#$ OPTION BEGIN (UNCHECKED): Dynamic Idle
# -- ADDER: Enabling Dynamic Idle --
set dyn_idle_min_rpm = 35
#$ OPTION END
#$ OPTION_GROUP END

simplified_tuning apply
Loading

0 comments on commit 99c7f49

Please sign in to comment.