Skip to content

Commit

Permalink
Make rates LPF cut-off frequency equal to 40 Hz
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Feb 7, 2024
1 parent ba6e63b commit 33319db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flix/control.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define YAWRATE_MAX radians(360)
#define MAX_TILT radians(30)

#define RATES_LFP_ALPHA 0.8 // cutoff frequency ~ 250 Hz
#define RATES_LFP_ALPHA 0.2 // cutoff frequency ~ 40 Hz
#define RATES_D_LPF_ALPHA 0.2 // cutoff frequency ~ 40 Hz

enum { MANUAL, ACRO, STAB } mode = STAB;
Expand Down

0 comments on commit 33319db

Please sign in to comment.