mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Filter: Adjust SlewLimiter tuning
This commit is contained in:
parent
6e6df3df58
commit
dd446433f7
@ -9,7 +9,7 @@
|
||||
#include "LowPassFilter.h"
|
||||
|
||||
#define N_EVENTS 2 // number of positive and negative consecutive slew rate exceedance events recorded where a value of 2 corresponds to a complete cycle
|
||||
#define WINDOW_MS 250 // time in msec required for a half cycle of the slowest oscillation frequency expected
|
||||
#define WINDOW_MS 300 // time in msec required for a half cycle of the slowest oscillation frequency expected
|
||||
#define MODIFIER_GAIN 1.5f // ratio of modifier reduction to slew rate exceedance ratio
|
||||
|
||||
class SlewLimiter {
|
||||
|
Loading…
Reference in New Issue
Block a user