|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_KIN_RHINO_H
28 #define RL_KIN_RHINO_H
67 const ::std::size_t& leaf = 0,
70 const ::std::size_t& iterations = 1000
82 template<
typename T> T
atan2(
const T& y,
const T& x)
const
84 T a = ::std::atan2(y, x);
85 return (::std::abs(a) <= 1.0e-6f) ? 0.0f : a;
88 template<
typename T> T
cos(
const T& x)
const
91 return (::std::abs(c) <= 1.0e-6f) ? 0.0f : c;
94 template<
typename T> T
sin(
const T& x)
const
97 return (::std::abs(s) <= 1.0e-6f) ? 0.0f : s;
107 #endif // RL_KIN_RHINO_H
Arm getArm() const
Definition: Rhino.cpp:57
::Eigen::Transform< Real, 3, ::Eigen::Affine > Transform
Rigid transformation in 3D.
Definition: Transform.h:46
Arm arm
Definition: Rhino.h:100
@ ELBOW_ABOVE
Definition: Rhino.h:50
Rhino()
Definition: Rhino.cpp:39
Elbow getElbow() const
Definition: Rhino.cpp:63
TRR base and RT wrist.
Definition: Rhino.h:40
@ ARM_LEFT
Definition: Rhino.h:44
void parameters(const ::rl::math::Vector &q, Arm &arm, Elbow &elbow) const
Definition: Rhino.cpp:210
Elbow elbow
Definition: Rhino.h:102
::Eigen::Matrix< Real, ::Eigen::Dynamic, 1 > Vector
Definition: Vector.h:42
void setElbow(const Elbow &elbow)
Definition: Rhino.cpp:261
T atan2(const T &y, const T &x) const
Definition: Rhino.h:82
void setArm(const Arm &arm)
Definition: Rhino.cpp:255
T cos(const T &x) const
Definition: Rhino.h:88
bool inversePosition(const ::rl::math::Transform &x, ::rl::math::Vector &q, const ::std::size_t &leaf=0, const ::rl::math::Real &delta=::std::numeric_limits< ::rl::math::Real >::infinity(), const ::rl::math::Real &epsilon=1.0e-3f, const ::std::size_t &iterations=1000)
Calculate inverse position kinematics.
Definition: Rhino.cpp:69
@ ELBOW_BELOW
Definition: Rhino.h:51
T sin(const T &x) const
Definition: Rhino.h:94
Definition: Kinematics.h:52
virtual ~Rhino()
Definition: Rhino.cpp:46
virtual Kinematics * clone() const
Definition: Rhino.cpp:51
double Real
Definition: Real.h:42
@ ARM_RIGHT
Definition: Rhino.h:45
Arm
Definition: Rhino.h:43
Elbow
Definition: Rhino.h:49
Robotics Library.
Definition: AnalogInput.cpp:30