Classes | Functions
KNI_MHF Namespace Reference

Classes

struct  unary_deg2rad
struct  unary_precalc_cos
struct  unary_precalc_sin
struct  unary_rad2deg

Functions

template<typename _T >
_T acotan (const _T in)
template<typename _T >
_T anglereduce (const _T a)
template<typename _T >
_T atan0 (const _T in1, const _T in2)
template<typename _T >
_T atan1 (_T in1, _T in2)
template<typename _T >
_T deg2rad (const _T a)
template<typename _angleT , typename _encT >
_angleT enc2rad (_encT const &enc, _angleT const &angleOffset, _encT const &epc, _encT const &encOffset, _encT const &rotDir)
double findFirstEqualAngle (double cosValue, double sinValue, double tolerance)
template<typename _T >
_T pow2 (const _T in)
template<typename _T >
_T rad2deg (const _T a)
template<typename _angleT , typename _encT >
_encT rad2enc (_angleT const &angle, _angleT const &angleOffset, _encT const &epc, _encT const &encOffset, _encT const &rotDir)
template<typename _T >
short sign (_T x)

Function Documentation

template<typename _T >
_T KNI_MHF::acotan ( const _T  in) [inline]

Definition at line 85 of file include/common/MathHelperFunctions.h.

template<typename _T >
_T KNI_MHF::anglereduce ( const _T  a) [inline]

Definition at line 134 of file include/common/MathHelperFunctions.h.

template<typename _T >
_T KNI_MHF::atan0 ( const _T  in1,
const _T  in2 
) [inline]

Definition at line 93 of file include/common/MathHelperFunctions.h.

template<typename _T >
_T KNI_MHF::atan1 ( _T  in1,
_T  in2 
) [inline]

Definition at line 65 of file include/common/MathHelperFunctions.h.

template<typename _T >
_T KNI_MHF::deg2rad ( const _T  a) [inline]

conversion from degree to radian

Definition at line 122 of file include/common/MathHelperFunctions.h.

template<typename _angleT , typename _encT >
_angleT KNI_MHF::enc2rad ( _encT const &  enc,
_angleT const &  angleOffset,
_encT const &  epc,
_encT const &  encOffset,
_encT const &  rotDir 
) [inline]

converts encoders to absolute angles in radian

Definition at line 156 of file include/common/MathHelperFunctions.h.

double KNI_MHF::findFirstEqualAngle ( double  cosValue,
double  sinValue,
double  tolerance 
) [inline]

Find the first equal angle. You have to pass a cos and a sin Value

Definition at line 165 of file include/common/MathHelperFunctions.h.

template<typename _T >
_T KNI_MHF::pow2 ( const _T  in) [inline]

Definition at line 100 of file include/common/MathHelperFunctions.h.

template<typename _T >
_T KNI_MHF::rad2deg ( const _T  a) [inline]

conversion from radian to degree

Definition at line 108 of file include/common/MathHelperFunctions.h.

template<typename _angleT , typename _encT >
_encT KNI_MHF::rad2enc ( _angleT const &  angle,
_angleT const &  angleOffset,
_encT const &  epc,
_encT const &  encOffset,
_encT const &  rotDir 
) [inline]

converts absolute angles in radian to encoders.

Definition at line 142 of file include/common/MathHelperFunctions.h.

template<typename _T >
short KNI_MHF::sign ( _T  x) [inline]

Definition at line 40 of file include/common/MathHelperFunctions.h.



kni
Author(s): Martin Günther
autogenerated on Mon Aug 14 2017 02:44:14