Monado OpenXR Runtime
m_filter_one_euro_base Struct Reference

Base data type for One Euro filter instances. More...

#include <math/m_filter_one_euro.h>

Collaboration diagram for m_filter_one_euro_base:

Data Fields

float fc_min
 Minimum frequency cutoff for filter, default = 25.0. More...
 
float fc_min_d
 Minimum frequency cutoff for derivative filter, default = 10.0. More...
 
float beta
 Beta value for "responsiveness" of filter - default = 0.01. More...
 
bool have_prev_y
 true if we have already processed a history sample More...
 
uint64_t prev_ts
 Timestamp of previous sample (nanoseconds) More...
 

Detailed Description

Base data type for One Euro filter instances.

Field Documentation

◆ beta

float m_filter_one_euro_base::beta

Beta value for "responsiveness" of filter - default = 0.01.

Referenced by filter_one_euro_compute_alpha().

◆ fc_min

float m_filter_one_euro_base::fc_min

Minimum frequency cutoff for filter, default = 25.0.

Referenced by filter_one_euro_compute_alpha().

◆ fc_min_d

float m_filter_one_euro_base::fc_min_d

Minimum frequency cutoff for derivative filter, default = 10.0.

◆ have_prev_y

bool m_filter_one_euro_base::have_prev_y

true if we have already processed a history sample

Referenced by filter_one_euro_handle_first_sample().

◆ prev_ts

uint64_t m_filter_one_euro_base::prev_ts

Timestamp of previous sample (nanoseconds)

Referenced by filter_one_euro_compute_alpha_d(), and filter_one_euro_handle_first_sample().


The documentation for this struct was generated from the following file: