Rearrange presets and add a few more for the Rotorflight 2.2 GA (#2)

Signed-off-by: Chris Kim <oats87g@gmail.com>
This commit is contained in:
Chris Kim
2025-06-03 16:40:50 -06:00
committed by GitHub
parent fd9f215f9d
commit 22ae5e3d39
16 changed files with 362 additions and 119 deletions

View File

@@ -1,123 +0,0 @@
#$ OPTION_GROUP BEGIN: (EXCLUSIVE) Applied Profile
#$ OPTION BEGIN (UNCHECKED): Profile 1
profile 0
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): Profile 2
profile 1
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): Profile 3
profile 2
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): Profile 4
profile 3
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): Profile 5
profile 4
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): Profile 6
profile 5
#$ OPTION END
#$ OPTION_GROUP END
set pid_mode = 3
set pid_dterm_mode = GYRO
set pid_dterm_mode_yaw = GYRO
set pid_gyro_filter_type = FIRST_ORDER
set pitch_p_gain = 50
set pitch_i_gain = 100
set pitch_d_gain = 50
set pitch_f_gain = 100
set pitch_b_gain = 0
set pitch_o_gain = 40
set roll_p_gain = 50
set roll_i_gain = 100
set roll_d_gain = 20
set roll_f_gain = 100
set roll_b_gain = 0
set roll_o_gain = 40
set yaw_p_gain = 80
set yaw_i_gain = 120
set yaw_d_gain = 40
set yaw_b_gain = 0
set yaw_f_gain = 0
set pitch_d_cutoff = 15
set pitch_b_cutoff = 15
set pitch_gyro_cutoff = 50
set pitch_error_cutoff = 0
set roll_d_cutoff = 15
set roll_b_cutoff = 15
set roll_gyro_cutoff = 50
set roll_error_cutoff = 0
set yaw_d_cutoff = 20
set yaw_b_cutoff = 20
set yaw_gyro_cutoff = 100
set yaw_error_cutoff = 0
set yaw_cw_stop_gain = 120
set yaw_ccw_stop_gain = 80
set yaw_precomp_cutoff = 5
set yaw_precomp_filter_type = FIRST_ORDER
set yaw_cyclic_ff_gain = 0
set yaw_collective_ff_gain = 30
set yaw_collective_dynamic_gain = 0
set yaw_collective_dynamic_decay = 25
set pitch_collective_ff_gain = 0
set cyclic_cross_coupling_gain = 50
set cyclic_cross_coupling_ratio = 0
set cyclic_cross_coupling_cutoff = 25
set error_rotation = ON
set error_limit = 30,30,45
set offset_limit = 45,45
set error_decay_time_ground = 25
set error_decay_time_cyclic = 250
set error_decay_time_yaw = 0
set error_decay_limit_cyclic = 12
set error_decay_limit_yaw = 0
set error_decay_rate_curve = 12,13,14,15,17,20,23,28,36,49,78,187,250,250,250,250
set error_decay_limit_curve = 12,12,12,12,12,12,12,12,12,12,12,12,13,14,15,16
set offset_decay_rate_curve = 250,250,250,250,25,3,1,0,0,0,0,0,0,0,0,0
set offset_decay_limit_curve = 5,5,4,3,2,2,2,2,2,2,2,2,2,2,2,2
set offset_bleed_rate_curve = 0,0,0,0,0,0,2,4,30,250,250,250,250,250,250,250
set offset_bleed_limit_curve = 0,0,0,0,0,0,15,40,100,150,200,250,250,250,250,250
set offset_charge_curve = 0,100,100,100,100,100,95,90,82,76,72,68,65,62,60,58
set iterm_relax_type = RPY
set iterm_relax_level = 40,40,40
set iterm_relax_cutoff = 10,10,10
set angle_level_strength = 40
set angle_level_limit = 55
set horizon_level_strength = 40
set horizon_transition = 75
set horizon_tilt_effect = 75
set horizon_tilt_expert_mode = OFF
set acro_trainer_angle_limit = 20
set acro_trainer_lookahead_ms = 50
set acro_trainer_gain = 75
set rescue_mode = OFF
set rescue_flip = OFF
set rescue_flip_gain = 200
set rescue_level_gain = 100
set rescue_pull_up_time = 3
set rescue_climb_time = 10
set rescue_flip_time = 20
set rescue_exit_time = 5
set rescue_pull_up_collective = 650
set rescue_climb_collective = 450
set rescue_hover_collective = 350
set rescue_hover_altitude = 500
set rescue_alt_p_gain = 20
set rescue_alt_i_gain = 20
set rescue_alt_d_gain = 10
set rescue_max_sp_rate = 300
set rescue_max_sp_accel = 3000
set rescue_max_collective = 500
set gov_headspeed = 1000
set gov_gain = 40
set gov_p_gain = 40
set gov_i_gain = 50
set gov_d_gain = 0
set gov_f_gain = 10
set gov_tta_gain = 0
set gov_tta_limit = 20
set gov_yaw_ff_weight = 0
set gov_cyclic_ff_weight = 10
set gov_collective_ff_weight = 100
set gov_max_throttle = 100
set gov_min_throttle = 10

View File

@@ -1,16 +0,0 @@
#$ TITLE: FlyDragon F722V2/F722V2.2 F.Port -> Servo 5 Remap
#$ FIRMWARE_VERSION: 4.4
#$ BOARD_NAME: FLYDRAGONF722_V2
#$ BOARD_NAME: FLYDRAGONF722_V2_2
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY
#$ KEYWORDS: fbus, f.port
#$ AUTHOR: FlyDragonRC
#$ DESCRIPTION: Remaps F.Port to Servo 5
#$ PRIORITY: 0
resource SERIAL_TX 2 none
resource SERVO 5 A02
timer A02 AF3
mixer input CH10 -1000 1000 1000
mixer rule 10 set CH10 S5 1000 0

View File

@@ -1,12 +0,0 @@
#$ TITLE: FlyDragon F722V2/F722V2.2 Enable RPM-E
#$ FIRMWARE_VERSION: 4.4
#$ BOARD_NAME: FLYDRAGONF722_V2
#$ BOARD_NAME: FLYDRAGONF722_V2_2
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY
#$ KEYWORDS: rpm-e
#$ AUTHOR: FlyDragonRC
#$ DESCRIPTION: Enables the RPM-E Port for RPM Input
#$ PRIORITY: 0
resource FREQ 1 A01

View File

@@ -1,12 +0,0 @@
#$ TITLE: FlyDragon F722V2/F722V2.2 Enable RPM-S
#$ FIRMWARE_VERSION: 4.4
#$ BOARD_NAME: FLYDRAGONF722_V2
#$ BOARD_NAME: FLYDRAGONF722_V2_2
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY
#$ KEYWORDS: rpm-s
#$ AUTHOR: FlyDragonRC
#$ DESCRIPTION: Enables the RPM-S Port for RPM Input
#$ PRIORITY: 0
resource FREQ 1 A15

View File

@@ -1,16 +0,0 @@
#$ TITLE: FlyDragon F722V2/F722V2.2 SBUS -> Servo 5 Remap
#$ FIRMWARE_VERSION: 4.4
#$ BOARD_NAME: FLYDRAGONF722_V2
#$ BOARD_NAME: FLYDRAGONF722_V2_2
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY
#$ KEYWORDS: sbus, s.bus
#$ AUTHOR: FlyDragonRC
#$ DESCRIPTION: Remaps the SBUS port to Servo 5
#$ PRIORITY: 0
resource SERIAL_RX 2 none
resource SERVO 5 A03
timer A03 AF3
mixer input CH10 -1000 1000 1000
mixer rule 10 set CH10 S5 1000 0

View File

@@ -0,0 +1,20 @@
#$ TITLE: FlyDragon F722V2/F722V2.2 RPM Port Selection
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ BOARD_NAME: FLYDRAGONF722_V2
#$ BOARD_NAME: FLYDRAGONF722_V2_2
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY
#$ KEYWORDS: rpm-s rpm-e rpm
#$ AUTHOR: FlyDragonRC
#$ DESCRIPTION: Changes the utilized RPM port
#$ PRIORITY: 0
#$ OPTION_GROUP BEGIN: (EXCLUSIVE) RPM Port
#$ OPTION BEGIN (CHECKED): RPM-E
resource FREQ 1 A01
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): RPM-S
resource FREQ 1 A15
#$ OPTION END
#$ OPTION_GROUP END

View File

@@ -0,0 +1,28 @@
#$ TITLE: FlyDragon F722V2/F722V2.2 Enable Servo 5
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ BOARD_NAME: FLYDRAGONF722_V2
#$ BOARD_NAME: FLYDRAGONF722_V2_2
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY
#$ KEYWORDS: sbus, s.bus, fport, f.port, servo
#$ AUTHOR: FlyDragonRC
#$ DESCRIPTION: Enables the F.Port or SBUS output to be used as Servo 5.
#$ PRIORITY: 0
#$ OPTION_GROUP BEGIN: (EXCLUSIVE) Servo 5 Port
#$ OPTION BEGIN (CHECKED): F.Port
resource SERIAL_TX 2 none
resource SERVO 5 A02
timer A02 AF3
mixer input CH10 -1000 1000 1000
mixer rule 10 set CH10 S5 1000 0
#$ OPTION END
#$ OPTION BEGIN (UNCHECKED): S.BUS
resource SERIAL_RX 2 none
resource SERVO 5 A03
timer A03 AF3
mixer input CH10 -1000 1000 1000
mixer rule 10 set CH10 S5 1000 0
#$ OPTION END
#$ OPTION_GROUP END

View File

@@ -1,5 +1,6 @@
#$ TITLE: FlyDragon F722V2 EXT Voltage -> BEC
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ BOARD_NAME: FLYDRAGONF722_V2
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY

View File

@@ -0,0 +1,13 @@
#$ TITLE: Radiomaster Nexus Motorized Tail
#$ FIRMWARE_VERSION: 4.4
#$ FIRMWARE_VERSION: 4.5
#$ BOARD_NAME: NEXUS_F7
#$ CATEGORY: REMAPPING
#$ STATUS: COMMUNITY
#$ KEYWORDS: motorized tail
#$ AUTHOR: Rotorflight Team
#$ DESCRIPTION: Changes the Servo 4 output to be used for a motorized tail.
#$ PRIORITY: 0
resource SERVO 4 none
resource MOTOR 2 B03

View File

@@ -0,0 +1,45 @@
#$ TITLE: etocii's Filters
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: SETUP
#$ STATUS: COMMUNITY
#$ KEYWORDS: filters
#$ AUTHOR: etocii
#$ FORCE_OPTIONS_REVIEW: true
#$ PARSER: MARKED
#$ DESCRIPTION: etocii's Filter Setup
#$ DESCRIPTION: -----------
#$ DESCRIPTION:
#$ DESCRIPTION: Description:
#$ DESCRIPTION: -----------
#$ DESCRIPTION: etocii's filters are his recommended filters that can be used with his presets.
#$ INCLUDE: helpers/2.2/filter-defaults.include
feature -DYN_NOTCH
feature RPM_FILTER
set gyro_lpf1_type = NONE
set gyro_lpf1_static_hz = 100
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set gyro_lpf2_type = NONE
set gyro_lpf2_static_hz = 50
set gyro_notch1_hz = 0
set gyro_notch1_cutoff = 0
set gyro_notch2_hz = 0
set gyro_notch2_cutoff = 0
set dyn_notch_count = 6
set dyn_notch_q = 25
set dyn_notch_min_hz = 20
set dyn_notch_max_hz = 240
set gyro_rpm_notch_preset = 0
set gyro_rpm_notch_min_hz = 20
set gyro_rpm_notch_source_pitch = 10,11,12,13,14,21,22,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_center_pitch = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_q_pitch = 50,100,36,80,80,60,50,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_source_roll = 10,11,12,13,14,21,22,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_center_roll = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_q_roll = 50,100,36,80,80,60,50,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_source_yaw = 12,13,14,21,22,0,0,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_center_yaw = 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
set gyro_rpm_notch_q_yaw = 80,100,100,60,50,0,0,0,0,0,0,0,0,0,0,0