Classes | Functions
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 MHF::acotan ( const _T  in) [inline]
template<typename _T >
_T MHF::anglereduce ( const _T  a) [inline]
template<typename _T >
_T MHF::atan0 ( const _T  in1,
const _T  in2 
) [inline]
template<typename _T >
_T MHF::atan1 ( _T  in1,
_T  in2 
) [inline]
template<typename _T >
_T MHF::deg2rad ( const _T  a) [inline]

conversion from degree to radian

Definition at line 129 of file lib/kinematics/AnalyticalGuess/include/MathHelperFunctions.h.

template<typename _angleT , typename _encT >
_angleT 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 158 of file lib/kinematics/AnalyticalGuess/include/MathHelperFunctions.h.

double 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 167 of file lib/kinematics/AnalyticalGuess/include/MathHelperFunctions.h.

template<typename _T >
_T MHF::pow2 ( const _T  in) [inline]
template<typename _T >
_T MHF::rad2deg ( const _T  a) [inline]

conversion from radian to degree

Definition at line 115 of file lib/kinematics/AnalyticalGuess/include/MathHelperFunctions.h.

template<typename _angleT , typename _encT >
_encT 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 149 of file lib/kinematics/AnalyticalGuess/include/MathHelperFunctions.h.

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


kni
Author(s): Neuronics AG (see AUTHORS.txt); ROS wrapper by Martin Günther
autogenerated on Mon Oct 6 2014 10:45:34