Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
differentiator< basetype, datatype > Class Template Reference

multi-dimensional integrator More...

#include <differentiator.h>

Public Member Functions

 differentiator (basetype Tdiff, basetype Tsampling, const datatype &init_value=0)
 constructor taking sampling-time and initial value
 
datatype respond (const datatype &right)
 update differentiator taking next input value
 
const datatypeget_value (void) const
 returns current output
 
datatype operator() (void) const
 cast to vector<size> returns current output
 

Detailed Description

template<class basetype, class datatype>
class differentiator< basetype, datatype >

multi-dimensional integrator

Definition at line 32 of file differentiator.h.

Constructor & Destructor Documentation

◆ differentiator()

template<class basetype , class datatype >
differentiator< basetype, datatype >::differentiator ( basetype  Tdiff,
basetype  Tsampling,
const datatype init_value = 0 
)
inline

constructor taking sampling-time and initial value

Definition at line 36 of file differentiator.h.

Member Function Documentation

◆ get_value()

template<class basetype , class datatype >
const datatype & differentiator< basetype, datatype >::get_value ( void  ) const
inline

returns current output

Definition at line 52 of file differentiator.h.

Referenced by differentiator< basetype, datatype >::operator()().

◆ operator()()

cast to vector<size> returns current output

Definition at line 58 of file differentiator.h.

References differentiator< basetype, datatype >::get_value().

◆ respond()

template<class basetype , class datatype >
datatype differentiator< basetype, datatype >::respond ( const datatype right)
inline

update differentiator taking next input value

Definition at line 44 of file differentiator.h.

Referenced by variometer_t::update_at_100Hz().


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