generated from betaflight/template
-
-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added OpenRacer preset by JazzMutant (#460)
* preset draft * review fixes --------- Co-authored-by: jaz7mutant <[email protected]>
- Loading branch information
1 parent
a8b115f
commit beab257
Showing
1 changed file
with
99 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
#$ TITLE: OpenRacer 5" 6S by JazzMutant | ||
#$ FIRMWARE_VERSION: 4.5 | ||
#$ CATEGORY: TUNE | ||
#$ STATUS: EXPERIMENTAL | ||
#$ KEYWORDS: openracer, race, 5 Inch, 5 In, 5", JazzMutant | ||
#$ AUTHOR: JazzMutant | ||
#$ PARSER: MARKED | ||
#$ DESCRIPTION: This tune was specially developed by **@JazzMutant** for 6S [OpenRacer](https://github.com/OpenRacer/OpenRacer/tree/master) with 1900-2050kv motors. | ||
#$ DESCRIPTION: | ||
#$ DESCRIPTION: ## Important notes: | ||
#$ DESCRIPTION: - Be sure you're using ESC with bidirectional DShot support (BLHeli32, AM32, BlueJay) | ||
#$ DESCRIPTION: - Select "Clean builds" filters option only if your build is perfect and props are always not very damaged | ||
#$ DESCRIPTION: - Test your quad after applying preset by flying slow for 30 seconds. Motors shoud stay cool or slightly warm. Quad should sound clean | ||
#$ DESCRIPTION: - **If anything is off, don't fly it!** | ||
#$ DISCUSSION: https://github.com/betaflight/firmware-presets/pull/460 | ||
#$ FORCE_OPTIONS_REVIEW: TRUE | ||
|
||
# Apply defaults | ||
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt | ||
#$ INCLUDE: presets/4.5/tune/defaults.txt | ||
#$ INCLUDE: presets/4.5/filters/defaults.txt | ||
|
||
set motor_pwm_protocol = DSHOT600 | ||
set dshot_bidir = ON | ||
|
||
set simplified_master_multiplier = 95 | ||
set simplified_i_gain = 90 | ||
set simplified_d_gain = 100 | ||
set simplified_pi_gain = 115 | ||
set simplified_dmax_gain = 0 | ||
set simplified_feedforward_gain = 100 | ||
set simplified_pitch_d_gain = 85 | ||
set simplified_pitch_pi_gain = 85 | ||
set simplified_gyro_filter = ON | ||
|
||
set gyro_lpf2_static_hz = 0 | ||
|
||
set tpa_mode = D | ||
set tpa_rate = 65 | ||
set tpa_breakpoint = 1650 | ||
|
||
#$ OPTION BEGIN (UNCHECKED): DShot300 (instead of DShot600) | ||
set motor_pwm_protocol = Dshot300 | ||
#$ OPTION END | ||
|
||
#$ OPTION_GROUP BEGIN: Tuning Options | ||
#$ OPTION BEGIN (CHECKED): Set Dynamic Idle to 30 | ||
set dyn_idle_min_rpm = 30 | ||
#$ OPTION END | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Disable Throttle Boost | ||
set throttle_boost = 0 | ||
#$ OPTION END | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Enable full Battery Sag Compensation | ||
set vbat_sag_compensation = 100 | ||
#$ OPTION END | ||
#$ OPTION_GROUP END | ||
|
||
#$ OPTION_GROUP BEGIN: Filters (select one) | ||
#$ OPTION BEGIN (CHECKED): Normal builds | ||
set dyn_notch_count = 2 | ||
set dyn_notch_q = 500 | ||
set dyn_notch_min_hz = 150 | ||
set dyn_notch_max_hz = 800 | ||
set simplified_gyro_filter_multiplier = 130 | ||
set rpm_filter_harmonics = 3 | ||
set rpm_filter_weights = 100,50,50 | ||
set simplified_dterm_filter_multiplier = 110 | ||
#$ OPTION END | ||
|
||
#$ OPTION BEGIN (UNCHECKED): Clean builds (be careful) | ||
set dyn_notch_count = 1 | ||
set dyn_notch_q = 500 | ||
set dyn_notch_min_hz = 150 | ||
set dyn_notch_max_hz = 600 | ||
set simplified_gyro_filter_multiplier = 200 | ||
set rpm_filter_harmonics = 3 | ||
set rpm_filter_weights = 100,50,50 | ||
set simplified_dterm_filter_multiplier = 130 | ||
set dterm_lpf1_dyn_expo = 7 | ||
#$ OPTION END | ||
#$ OPTION_GROUP END | ||
|
||
simplified_tuning apply | ||
|
||
#$ OPTION BEGIN (UNCHECKED): 533 rates (Actual) | ||
#$ INCLUDE: presets/4.3/rates/defaults.txt | ||
set rates_type = ACTUAL | ||
set roll_rc_rate = 16 | ||
set pitch_rc_rate = 16 | ||
set yaw_rc_rate = 16 | ||
set roll_expo = 56 | ||
set pitch_expo = 56 | ||
set yaw_expo = 56 | ||
set roll_srate = 53 | ||
set pitch_srate = 53 | ||
set yaw_srate = 53 | ||
#$ OPTION END |