mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-02 04:58:15 +08:00
sensors/vehicle_angular_velocity: RPM notch don't fully disable if first harmonic frequency drops below minimum frequency
- keep higher frequency harmonics enabled per ESC - cleanup timestamp handling (timeouts, etc)
This commit is contained in:
@@ -128,6 +128,8 @@ public:
|
||||
_b2 = b[2];
|
||||
}
|
||||
|
||||
bool initialized() const { return _initialized; }
|
||||
|
||||
void reset() { _initialized = false; }
|
||||
|
||||
void reset(const T &sample)
|
||||
@@ -151,11 +153,6 @@ public:
|
||||
_bandwidth = 0.f;
|
||||
_sample_freq = 0.f;
|
||||
|
||||
_delay_element_1 = {};
|
||||
_delay_element_2 = {};
|
||||
_delay_element_output_1 = {};
|
||||
_delay_element_output_2 = {};
|
||||
|
||||
_b0 = 1.f;
|
||||
_b1 = 0.f;
|
||||
_b2 = 0.f;
|
||||
|
||||
Reference in New Issue
Block a user