Skip to content

Commit

Permalink
Presets for new AOS Cine Frames (#494)
Browse files Browse the repository at this point in the history
* aos_cine update

* review updates (whitespace)

* add simplified_tuning apply to filters
  • Loading branch information
ChrisRosser authored Nov 7, 2024
1 parent bcfc7c9 commit d70a432
Show file tree
Hide file tree
Showing 10 changed files with 819 additions and 53 deletions.
39 changes: 39 additions & 0 deletions presets/4.5/filters/aos_rc/aos_cine20_filters.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#$ TITLE: AOS Cine20 Filters
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: FILTERS
#$ STATUS: COMMUNITY
#$ KEYWORDS: filter, filters, aos, chris, rosser, cine, 20
#$ AUTHOR: Chris Rosser
#$ DESCRIPTION: Developed for the AOS Cine20 based on a build with 1303 6000KV motors and 550mAh 4S battery.
#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITHOUT RPM FILTERING!
#$ DESCRIPTION: Follow the usual process of hover testing and safely checking out your tune before using. USE AT YOUR OWN RISK.
#$ DISCUSSION: https://www.aos-rc.com
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
#$ INCLUDE: presets/4.5/filters/defaults.txt


# -- Gyro lowpass filters --
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set gyro_lpf1_static_hz = 0
set gyro_lpf2_static_hz = 1000
set simplified_gyro_filter_multiplier = 200


# -- Gyro Dynamic Notches --
set dyn_notch_count = 0

# -- RPM filtering --
set dshot_bidir = ON
set rpm_filter_harmonics = 1
set rpm_filter_fade_range_hz = 50
set rpm_filter_min_hz = 100

# -- Dterm filtering --
set dterm_lpf1_dyn_min_hz = 80
set dterm_lpf1_dyn_max_hz = 110
set dterm_lpf1_type = BIQUAD
set dterm_lpf2_static_hz = 0
set simplified_dterm_filter = OFF

simplified_tuning apply
26 changes: 6 additions & 20 deletions presets/4.5/filters/aos_rc/aos_cine25_filters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: FILTERS
#$ STATUS: COMMUNITY
#$ KEYWORDS: filter, filters, aos, chris, rosser, cine25
#$ KEYWORDS: filter, filters, aos, chris, rosser, cine, 25
#$ AUTHOR: Chris Rosser
#$ DESCRIPTION: Developed for the AOS Cine25
#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITH OUT RPM FILTERING!
#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITHOUT RPM FILTERING!
#$ DESCRIPTION: Follow the usual process of hover testing and safely checking out your tune before using. USE AT YOUR OWN RISK.
#$ DISCUSSION: https://www.aos-rc.com
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
Expand All @@ -17,17 +17,15 @@ set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set gyro_lpf1_static_hz = 0
set gyro_lpf2_static_hz = 1000
set simplified_gyro_filter = OFF
set simplified_gyro_filter_multiplier = 200


# -- Gyro Dynamic Notches --
set dyn_notch_count = 1
set dyn_notch_q = 500
set dyn_notch_min_hz = 150
set dyn_notch_count = 0

# -- RPM filtering --
set dshot_bidir = ON
set rpm_filter_harmonics = 3
set rpm_filter_harmonics = 1
set rpm_filter_fade_range_hz = 50
set rpm_filter_min_hz = 100

Expand All @@ -38,16 +36,4 @@ set dterm_lpf1_type = BIQUAD
set dterm_lpf2_static_hz = 0
set simplified_dterm_filter = OFF

# ------ OPIONS GO BELOW THIS LINE ------

# -- RPM Filter Weights --

#$ OPTION_GROUP BEGIN: Props
#$ OPTION BEGIN (CHECKED): RPM Filter Weights for triblade props
set rpm_filter_weights = 100, 0, 80
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): RPM Filter Weights for other props
set rpm_filter_weights = 100, 100, 100
#$ OPTION END
#$ OPTION_GROUP END
simplified_tuning apply
39 changes: 39 additions & 0 deletions presets/4.5/filters/aos_rc/aos_cine30_filters.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#$ TITLE: AOS Cine30 Filters
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: FILTERS
#$ STATUS: COMMUNITY
#$ KEYWORDS: filter, filters, aos, chris, rosser, cine, 30
#$ AUTHOR: Chris Rosser
#$ DESCRIPTION: Developed for the AOS Cine30 based on a build with 1507 3800KV motors on 4S.
#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITHOUT RPM FILTERING!
#$ DESCRIPTION: Follow the usual process of hover testing and safely checking out your tune before using. USE AT YOUR OWN RISK.
#$ DISCUSSION: https://www.aos-rc.com
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
#$ INCLUDE: presets/4.5/filters/defaults.txt


# -- Gyro lowpass filters --
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set gyro_lpf1_static_hz = 0
set gyro_lpf2_static_hz = 1000
set simplified_gyro_filter_multiplier = 200


# -- Gyro Dynamic Notches --
set dyn_notch_count = 0

# -- RPM filtering --
set dshot_bidir = ON
set rpm_filter_harmonics = 1
set rpm_filter_fade_range_hz = 50
set rpm_filter_min_hz = 100

# -- Dterm filtering --
set dterm_lpf1_dyn_min_hz = 80
set dterm_lpf1_dyn_max_hz = 110
set dterm_lpf1_type = BIQUAD
set dterm_lpf2_static_hz = 0
set simplified_dterm_filter = OFF

simplified_tuning apply
13 changes: 7 additions & 6 deletions presets/4.5/filters/aos_rc/aos_cine35_filters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: FILTERS
#$ STATUS: COMMUNITY
#$ KEYWORDS: filter, filters, aos, chris, rosser, cine35
#$ KEYWORDS: filter, filters, aos, chris, rosser, cine, 35
#$ AUTHOR: Chris Rosser
#$ DESCRIPTION: Developed for the AOS Cine35
#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITH OUT RPM FILTERING!
#$ DESCRIPTION: Developed for the AOS Cine35 based on a build with 2104 1800KV motors on 6S
#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITHOUT RPM FILTERING!
#$ DESCRIPTION: Follow the usual process of hover testing and safely checking out your tune before using. USE AT YOUR OWN RISK.
#$ DISCUSSION: https://www.aos-rc.com
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
Expand All @@ -17,8 +17,7 @@ set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set gyro_lpf1_static_hz = 0
set gyro_lpf2_static_hz = 1000
set simplified_gyro_filter = OFF

set simplified_gyro_filter_multiplier = 200

# -- Gyro Dynamic Notches --
set dyn_notch_count = 1
Expand Down Expand Up @@ -50,4 +49,6 @@ set simplified_dterm_filter = OFF
#$ OPTION BEGIN (UNCHECKED): RPM Filter Weights for other props
set rpm_filter_weights = 100, 100, 100
#$ OPTION END
#$ OPTION_GROUP END
#$ OPTION_GROUP END

simplified_tuning apply
54 changes: 54 additions & 0 deletions presets/4.5/filters/aos_rc/aos_cine40_filters.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
#$ TITLE: AOS Cine40 Filters
#$ FIRMWARE_VERSION: 4.5
#$ CATEGORY: FILTERS
#$ STATUS: COMMUNITY
#$ KEYWORDS: filter, filters, aos, chris, rosser, cine, 40
#$ AUTHOR: Chris Rosser
#$ DESCRIPTION: Developed for the AOS Cine40 based on a build with 2207 1980KV motors on 6S.
#$ DESCRIPTION: NOTE this needs bidirectional Dshot support and RPM filtering active to use. DO NOT ATEMPT TO USE WITHOUT RPM FILTERING!
#$ DESCRIPTION: Follow the usual process of hover testing and safely checking out your tune before using. USE AT YOUR OWN RISK.
#$ DISCUSSION: https://www.aos-rc.com
#$ INCLUDE_WARNING: misc/warnings/en/rpm_filters.txt
#$ INCLUDE: presets/4.5/filters/defaults.txt


# -- Gyro lowpass filters --
set gyro_lpf1_dyn_min_hz = 0
set gyro_lpf1_dyn_max_hz = 0
set gyro_lpf1_static_hz = 0
set gyro_lpf2_static_hz = 1000
set simplified_gyro_filter_multiplier = 200

# -- Gyro Dynamic Notches --
set dyn_notch_count = 1
set dyn_notch_q = 500
set dyn_notch_min_hz = 150

# -- RPM filtering --
set dshot_bidir = ON
set rpm_filter_harmonics = 3
set rpm_filter_fade_range_hz = 50
set rpm_filter_min_hz = 100

# -- Dterm filtering --
set dterm_lpf1_dyn_min_hz = 80
set dterm_lpf1_dyn_max_hz = 110
set dterm_lpf1_type = BIQUAD
set dterm_lpf2_static_hz = 0
set simplified_dterm_filter = OFF

# ------ OPIONS GO BELOW THIS LINE ------

# -- RPM Filter Weights --

#$ OPTION_GROUP BEGIN: Props
#$ OPTION BEGIN (CHECKED): RPM Filter Weights for triblade props
set rpm_filter_weights = 100, 0, 80
#$ OPTION END

#$ OPTION BEGIN (UNCHECKED): RPM Filter Weights for other props
set rpm_filter_weights = 100, 100, 100
#$ OPTION END
#$ OPTION_GROUP END

simplified_tuning apply
Loading

0 comments on commit d70a432

Please sign in to comment.