KatanaNativeInterface
$VERSION$
|
Classes | |
struct | unary_precalc_sin |
function-object which calculates sinus for n-elements of a container if used together with a STL algorithm More... | |
struct | unary_precalc_cos |
struct | unary_rad2deg |
a function-object version of rad2deg More... | |
struct | unary_deg2rad |
a function-object version of rad2deg More... | |
Functions | |
template<typename _T > | |
short | sign (_T x) |
template<typename _T > | |
_T | atan1 (_T in1, _T in2) |
template<typename _T > | |
_T | acotan (const _T in) |
template<typename _T > | |
_T | atan0 (const _T in1, const _T in2) |
template<typename _T > | |
_T | pow2 (const _T in) |
template<typename _T > | |
_T | rad2deg (const _T a) |
conversion from radian to degree More... | |
template<typename _T > | |
_T | deg2rad (const _T a) |
conversion from degree to radian More... | |
template<typename _T > | |
_T | anglereduce (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) |
converts absolute angles in radian to encoders. More... | |
template<typename _angleT , typename _encT > | |
_angleT | enc2rad (_encT const &enc, _angleT const &angleOffset, _encT const &epc, _encT const &encOffset, _encT const &rotDir) |
converts encoders to absolute angles in radian More... | |
double | findFirstEqualAngle (double cosValue, double sinValue, double tolerance) |
Find the first equal angle. More... | |
|
inline |
Definition at line 77 of file MathHelperFunctions.h.
References M_PI.
|
inline |
Definition at line 126 of file MathHelperFunctions.h.
References M_PI.
Referenced by findFirstEqualAngle().
|
inline |
Definition at line 85 of file MathHelperFunctions.h.
References M_PI.
|
inline |
|
inline |
conversion from degree to radian
Definition at line 114 of file MathHelperFunctions.h.
References M_PI.
Referenced by KNI_MHF::unary_deg2rad< _T >::operator()().
|
inline |
converts encoders to absolute angles in radian
Definition at line 148 of file MathHelperFunctions.h.
References M_PI.
|
inline |
Find the first equal angle.
You have to pass a cos and a sin Value
Definition at line 157 of file MathHelperFunctions.h.
References anglereduce(), and M_PI.
|
inline |
Definition at line 92 of file MathHelperFunctions.h.
|
inline |
conversion from radian to degree
Definition at line 100 of file MathHelperFunctions.h.
References M_PI.
Referenced by KNI_MHF::unary_rad2deg< _T >::operator()().
|
inline |
converts absolute angles in radian to encoders.
Definition at line 134 of file MathHelperFunctions.h.
References M_PI.
|
inline |
Definition at line 37 of file MathHelperFunctions.h.
Referenced by atan1().