OSVR-Core
Classes | Namespaces | Typedefs | Functions
EigenFilters.h File Reference

Header defining some filters for Eigen datatypes. More...

#include <osvr/Util/EigenCoreGeometry.h>
#include <osvr/Util/EigenExtras.h>
#include <osvr/Util/EigenQuatExponentialMap.h>
#include <cmath>

Go to the source code of this file.

Classes

class  osvr::util::filters::low_pass::LowPassFilter< T >
 Low pass filter (designed for use within the One Euro filter) that works with Eigen types. More...
 
struct  osvr::util::filters::one_euro::Params
 Parameters needed for the one-euro filter. More...
 
struct  osvr::util::filters::one_euro::DerivativeTraits< T >
 Default derivative traits: assumes derivative is same datatype as main data, identity is zeros, and magnitude is l2 norm. More...
 
struct  osvr::util::filters::one_euro::DerivativeTraits< Eigen::Quaterniond >
 
class  osvr::util::filters::one_euro::OneEuroFilter< T >
 A simple filter designed for human input sources: high accuracy at low velocity, low latency at high velocity. More...
 
class  osvr::util::filters::one_euro::PoseOneEuroFilter< Scalar >
 Combines a one-euro filter for position and a one-euro filter for orientation for the common use case of wanting to filter a full pose. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 
 osvr::util::filters
 Filters for use with Eigen datatypes.
 
 osvr::util::filters::low_pass
 Low pass filter class and supporting free functions.
 
 osvr::util::filters::one_euro
 "One-Euro" filter class and supporting structs and free functions.
 

Typedefs

using osvr::util::filters::PoseOneEuroFilterd = one_euro::PoseOneEuroFilter< double >
 

Functions

template<typename Derived >
Derived osvr::util::filters::low_pass::computeStep (Eigen::MatrixBase< Derived > const &hatx, Eigen::MatrixBase< Derived > const &x, typename Derived::Scalar alpha)
 
template<typename Derived >
Derived osvr::util::filters::low_pass::computeStep (Eigen::QuaternionBase< Derived > const &hatx, Eigen::QuaternionBase< Derived > const &x, typename Derived::Scalar alpha)
 
template<typename T >
T osvr::util::filters::one_euro::detail::computeAlpha (T dt, T cutoff)
 Computing the alpha value for a step in the one euro filter for any scalar type. More...
 

Detailed Description

Header defining some filters for Eigen datatypes.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Function Documentation

§ computeAlpha()

template<typename T >
T osvr::util::filters::one_euro::detail::computeAlpha ( T  dt,
T  cutoff 
)
inline

Computing the alpha value for a step in the one euro filter for any scalar type.