Skip to content

Commit

Permalink
remove filter changes from snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
joelucid committed Aug 11, 2019
1 parent 49f6e75 commit ff396f3
Show file tree
Hide file tree
Showing 41 changed files with 208 additions and 1,727 deletions.
47 changes: 5 additions & 42 deletions AIKONF4-upgrade.cf
Original file line number Diff line number Diff line change
Expand Up @@ -17,66 +17,29 @@ dma pin c09 0

timer b00 none
timer b01 none

# set looptime to 4k to have enough computational time

set gyro_sync_denom = 2
set pid_process_denom = 1

# works most reliably with DShot600
# Start with dshot 300 which is most robust

set motor_pwm_protocol=DSHOT600
set motor_pwm_protocol=DSHOT300

# basic settings required to enable rpm filtering:

set scheduler_optimize_rate=on
set dshot_burst=off
set dshot_bidir=on

# enable debugging of rpm related settings (optional)
# enable debugging for noise assessment

set debug_mode=rpm_filter
set debug_mode=gyro_scaled

# reconfigure dynamic notch filter to focus on narrow frame resonances
# since motor noise will already be eliminated by the rpm filter.

set dyn_notch_range = medium
set dyn_notch_width_percent = 0
set dyn_notch_q = 250

# set dterm lowpass 1

set dyn_lpf_dterm_min_hz = 150
set dyn_lpf_dterm_max_hz = 250

# turn off dterm lowpass 2 to reduce delay

set dterm_lowpass2_hz = 0

# turn off 1st gyro lpf and dynamic gyro lpf to reduce delay

set gyro_lowpass_hz = 0
set dyn_lpf_gyro_min_hz = 0

# Enable static gyro lowpass filter 2 at 150hz pt1 on gyro to
# eliminate any broadband residual noise. your quad might not need
# this - if motors are cold try removing it.

set gyro_lowpass2_hz = 150
set gyro_lowpass2_type = PT1

# Increase the d_min boost_gain to ramp up D faster when prop wash is
# encountered. This change can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

set d_min_boost_gain=35

######################################################################
# The following settings increase d_min to allow a faster D response to
# prop wash. These changes can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

# set d_min_pitch=29
# set d_min_roll=27

47 changes: 5 additions & 42 deletions AIKONF4.cf
Original file line number Diff line number Diff line change
Expand Up @@ -17,66 +17,29 @@ dma pin c09 0

timer b00 none
timer b01 none

# set looptime to 4k to have enough computational time

set gyro_sync_denom = 2
set pid_process_denom = 1

# works most reliably with DShot600
# Start with dshot 300 which is most robust

set motor_pwm_protocol=DSHOT600
set motor_pwm_protocol=DSHOT300

# basic settings required to enable rpm filtering:

set scheduler_optimize_rate=on
set dshot_burst=off
set dshot_bidir=on

# enable debugging of rpm related settings (optional)
# enable debugging for noise assessment

set debug_mode=rpm_filter
set debug_mode=gyro_scaled

# reconfigure dynamic notch filter to focus on narrow frame resonances
# since motor noise will already be eliminated by the rpm filter.

set dyn_notch_range = medium
set dyn_notch_width_percent = 0
set dyn_notch_q = 250

# set dterm lowpass 1

set dyn_lpf_dterm_min_hz = 150
set dyn_lpf_dterm_max_hz = 250

# turn off dterm lowpass 2 to reduce delay

set dterm_lowpass2_hz = 0

# turn off 1st gyro lpf and dynamic gyro lpf to reduce delay

set gyro_lowpass_hz = 0
set dyn_lpf_gyro_min_hz = 0

# Enable static gyro lowpass filter 2 at 150hz pt1 on gyro to
# eliminate any broadband residual noise. your quad might not need
# this - if motors are cold try removing it.

set gyro_lowpass2_hz = 150
set gyro_lowpass2_type = PT1

# Increase the d_min boost_gain to ramp up D faster when prop wash is
# encountered. This change can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

set d_min_boost_gain=35

######################################################################
# The following settings increase d_min to allow a faster D response to
# prop wash. These changes can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

set d_min_pitch=29
set d_min_roll=27

47 changes: 5 additions & 42 deletions ALIENFLIGHTNGF7-upgrade.cf
Original file line number Diff line number Diff line change
Expand Up @@ -31,66 +31,29 @@ dma pin b01 0
dma pin b15 0
dma pin b08 0
dma pin b09 0

# set looptime to 4k to have enough computational time

set gyro_sync_denom = 2
set pid_process_denom = 1

# works most reliably with DShot600
# Start with dshot 300 which is most robust

set motor_pwm_protocol=DSHOT600
set motor_pwm_protocol=DSHOT300

# basic settings required to enable rpm filtering:

set scheduler_optimize_rate=on
set dshot_burst=off
set dshot_bidir=on

# enable debugging of rpm related settings (optional)
# enable debugging for noise assessment

set debug_mode=rpm_filter
set debug_mode=gyro_scaled

# reconfigure dynamic notch filter to focus on narrow frame resonances
# since motor noise will already be eliminated by the rpm filter.

set dyn_notch_range = medium
set dyn_notch_width_percent = 0
set dyn_notch_q = 250

# set dterm lowpass 1

set dyn_lpf_dterm_min_hz = 150
set dyn_lpf_dterm_max_hz = 250

# turn off dterm lowpass 2 to reduce delay

set dterm_lowpass2_hz = 0

# turn off 1st gyro lpf and dynamic gyro lpf to reduce delay

set gyro_lowpass_hz = 0
set dyn_lpf_gyro_min_hz = 0

# Enable static gyro lowpass filter 2 at 150hz pt1 on gyro to
# eliminate any broadband residual noise. your quad might not need
# this - if motors are cold try removing it.

set gyro_lowpass2_hz = 150
set gyro_lowpass2_type = PT1

# Increase the d_min boost_gain to ramp up D faster when prop wash is
# encountered. This change can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

set d_min_boost_gain=35

######################################################################
# The following settings increase d_min to allow a faster D response to
# prop wash. These changes can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

# set d_min_pitch=29
# set d_min_roll=27

47 changes: 5 additions & 42 deletions ALIENFLIGHTNGF7.cf
Original file line number Diff line number Diff line change
Expand Up @@ -31,66 +31,29 @@ dma pin b01 0
dma pin b15 0
dma pin b08 0
dma pin b09 0

# set looptime to 4k to have enough computational time

set gyro_sync_denom = 2
set pid_process_denom = 1

# works most reliably with DShot600
# Start with dshot 300 which is most robust

set motor_pwm_protocol=DSHOT600
set motor_pwm_protocol=DSHOT300

# basic settings required to enable rpm filtering:

set scheduler_optimize_rate=on
set dshot_burst=off
set dshot_bidir=on

# enable debugging of rpm related settings (optional)
# enable debugging for noise assessment

set debug_mode=rpm_filter
set debug_mode=gyro_scaled

# reconfigure dynamic notch filter to focus on narrow frame resonances
# since motor noise will already be eliminated by the rpm filter.

set dyn_notch_range = medium
set dyn_notch_width_percent = 0
set dyn_notch_q = 250

# set dterm lowpass 1

set dyn_lpf_dterm_min_hz = 150
set dyn_lpf_dterm_max_hz = 250

# turn off dterm lowpass 2 to reduce delay

set dterm_lowpass2_hz = 0

# turn off 1st gyro lpf and dynamic gyro lpf to reduce delay

set gyro_lowpass_hz = 0
set dyn_lpf_gyro_min_hz = 0

# Enable static gyro lowpass filter 2 at 150hz pt1 on gyro to
# eliminate any broadband residual noise. your quad might not need
# this - if motors are cold try removing it.

set gyro_lowpass2_hz = 150
set gyro_lowpass2_type = PT1

# Increase the d_min boost_gain to ramp up D faster when prop wash is
# encountered. This change can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

set d_min_boost_gain=35

######################################################################
# The following settings increase d_min to allow a faster D response to
# prop wash. These changes can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

set d_min_pitch=29
set d_min_roll=27

47 changes: 5 additions & 42 deletions ANYFCM7-upgrade.cf
Original file line number Diff line number Diff line change
Expand Up @@ -25,66 +25,29 @@ dma pin a01 0
dma pin b00 0
dma pin a00 0
dma pin b01 0

# set looptime to 4k to have enough computational time

set gyro_sync_denom = 2
set pid_process_denom = 1

# works most reliably with DShot600
# Start with dshot 300 which is most robust

set motor_pwm_protocol=DSHOT600
set motor_pwm_protocol=DSHOT300

# basic settings required to enable rpm filtering:

set scheduler_optimize_rate=on
set dshot_burst=off
set dshot_bidir=on

# enable debugging of rpm related settings (optional)
# enable debugging for noise assessment

set debug_mode=rpm_filter
set debug_mode=gyro_scaled

# reconfigure dynamic notch filter to focus on narrow frame resonances
# since motor noise will already be eliminated by the rpm filter.

set dyn_notch_range = medium
set dyn_notch_width_percent = 0
set dyn_notch_q = 250

# set dterm lowpass 1

set dyn_lpf_dterm_min_hz = 150
set dyn_lpf_dterm_max_hz = 250

# turn off dterm lowpass 2 to reduce delay

set dterm_lowpass2_hz = 0

# turn off 1st gyro lpf and dynamic gyro lpf to reduce delay

set gyro_lowpass_hz = 0
set dyn_lpf_gyro_min_hz = 0

# Enable static gyro lowpass filter 2 at 150hz pt1 on gyro to
# eliminate any broadband residual noise. your quad might not need
# this - if motors are cold try removing it.

set gyro_lowpass2_hz = 150
set gyro_lowpass2_type = PT1

# Increase the d_min boost_gain to ramp up D faster when prop wash is
# encountered. This change can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

set d_min_boost_gain=35

######################################################################
# The following settings increase d_min to allow a faster D response to
# prop wash. These changes can cause stick feel to change a bit due to
# higher D and will increase noise. Stick sharpness can be increased
# using FF to compensate.

# set d_min_pitch=29
# set d_min_roll=27

Loading

0 comments on commit ff396f3

Please sign in to comment.