Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
testIIRFilter< T, FT > Class Template Reference

List of all members.

Public Member Functions

void initialize ()
template<>
void initialize ()
void parse_params ()
template<>
void parse_params ()
void test0 ()
 testIIRFilter (const double _dt=0.004)

Public Attributes

std::vector< std::string > arg_strs

Protected Member Functions

double calc_sin_value (const size_t i)
void fprintf_plot (FILE *gp_pos)
template<>
void fprintf_plot (FILE *gp_pos)
template<>
void fprintf_plot (FILE *gp_pos)
template<>
void fprintf_plot (FILE *gp_pos)
void fprintf_value (FILE *fp, const double _time, const T &_input, const T &_output)
template<>
void fprintf_value (FILE *fp, const double _time, const double &_input, const double &_output)
template<>
void fprintf_value (FILE *fp, const double _time, const hrp::Vector3 &_input, const hrp::Vector3 &_output)
template<>
void fprintf_value (FILE *fp, const double _time, const double &_input, const double &_output)
void gen_pattern_and_plot (const std::vector< double > &time_vec, const std::vector< T > &input_vec)
T init_value ()
template<>
double init_value ()
template<>
hrp::Vector3 init_value ()
template<>
double init_value ()
T test0_input_value (const size_t i)
template<>
double test0_input_value (const size_t i)
template<>
hrp::Vector3 test0_input_value (const size_t i)
template<>
double test0_input_value (const size_t i)

Protected Attributes

double dt
boost::shared_ptr< FT > filter
double input_freq
bool use_gnuplot

Detailed Description

template<class T, class FT>
class testIIRFilter< T, FT >

Definition at line 13 of file testIIRFilter.cpp.


Constructor & Destructor Documentation

template<class T, class FT>
testIIRFilter< T, FT >::testIIRFilter ( const double  _dt = 0.004) [inline]

Definition at line 47 of file testIIRFilter.cpp.


Member Function Documentation

template<class T, class FT>
double testIIRFilter< T, FT >::calc_sin_value ( const size_t  i) [inline, protected]

Definition at line 44 of file testIIRFilter.cpp.

template<class T, class FT>
void testIIRFilter< T, FT >::fprintf_plot ( FILE *  gp_pos) [protected]
template<>
void testIIRFilter< double, FirstOrderLowPassFilter< double > >::fprintf_plot ( FILE *  gp_pos) [protected]

Definition at line 89 of file testIIRFilter.cpp.

template<>
void testIIRFilter< hrp::Vector3, FirstOrderLowPassFilter< hrp::Vector3 > >::fprintf_plot ( FILE *  gp_pos) [protected]

Definition at line 105 of file testIIRFilter.cpp.

template<>
void testIIRFilter< double, IIRFilter >::fprintf_plot ( FILE *  gp_pos) [protected]

Definition at line 167 of file testIIRFilter.cpp.

template<class T, class FT>
void testIIRFilter< T, FT >::fprintf_value ( FILE *  fp,
const double  _time,
const T _input,
const T _output 
) [protected]
template<>
void testIIRFilter< double, FirstOrderLowPassFilter< double > >::fprintf_value ( FILE *  fp,
const double  _time,
const double &  _input,
const double &  _output 
) [protected]

Definition at line 83 of file testIIRFilter.cpp.

template<>
void testIIRFilter< hrp::Vector3, FirstOrderLowPassFilter< hrp::Vector3 > >::fprintf_value ( FILE *  fp,
const double  _time,
const hrp::Vector3 _input,
const hrp::Vector3 _output 
) [protected]

Definition at line 95 of file testIIRFilter.cpp.

template<>
void testIIRFilter< double, IIRFilter >::fprintf_value ( FILE *  fp,
const double  _time,
const double &  _input,
const double &  _output 
) [protected]

Definition at line 161 of file testIIRFilter.cpp.

template<class T, class FT>
void testIIRFilter< T, FT >::gen_pattern_and_plot ( const std::vector< double > &  time_vec,
const std::vector< T > &  input_vec 
) [inline, protected]

Definition at line 22 of file testIIRFilter.cpp.

template<class T, class FT>
T testIIRFilter< T, FT >::init_value ( ) [protected]
template<>
double testIIRFilter< double, FirstOrderLowPassFilter< double > >::init_value ( ) [protected]

Definition at line 87 of file testIIRFilter.cpp.

Definition at line 99 of file testIIRFilter.cpp.

template<>
double testIIRFilter< double, IIRFilter >::init_value ( ) [protected]

Definition at line 165 of file testIIRFilter.cpp.

template<class T, class FT>
void testIIRFilter< T, FT >::initialize ( void  ) [inline]

Definition at line 49 of file testIIRFilter.cpp.

template<>
void testIIRFilter< double, IIRFilter >::initialize ( void  )

Definition at line 112 of file testIIRFilter.cpp.

template<class T, class FT>
void testIIRFilter< T, FT >::parse_params ( ) [inline]

Definition at line 66 of file testIIRFilter.cpp.

template<>
void testIIRFilter< double, IIRFilter >::parse_params ( )

Definition at line 146 of file testIIRFilter.cpp.

template<class T, class FT>
void testIIRFilter< T, FT >::test0 ( ) [inline]

Definition at line 52 of file testIIRFilter.cpp.

template<class T, class FT>
T testIIRFilter< T, FT >::test0_input_value ( const size_t  i) [protected]
template<>
double testIIRFilter< double, FirstOrderLowPassFilter< double > >::test0_input_value ( const size_t  i) [protected]

Definition at line 88 of file testIIRFilter.cpp.

Definition at line 100 of file testIIRFilter.cpp.

template<>
double testIIRFilter< double, IIRFilter >::test0_input_value ( const size_t  i) [protected]

Definition at line 166 of file testIIRFilter.cpp.


Member Data Documentation

template<class T, class FT>
std::vector<std::string> testIIRFilter< T, FT >::arg_strs

Definition at line 44 of file testIIRFilter.cpp.

template<class T, class FT>
double testIIRFilter< T, FT >::dt [protected]

Definition at line 16 of file testIIRFilter.cpp.

template<class T, class FT>
boost::shared_ptr<FT > testIIRFilter< T, FT >::filter [protected]

Definition at line 18 of file testIIRFilter.cpp.

template<class T, class FT>
double testIIRFilter< T, FT >::input_freq [protected]

Definition at line 17 of file testIIRFilter.cpp.

template<class T, class FT>
bool testIIRFilter< T, FT >::use_gnuplot [protected]

Definition at line 19 of file testIIRFilter.cpp.


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


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:21