|
Robotics Library
0.7.0
|
Go to the documentation of this file.
75 const ::std::size_t& leaf = 0,
78 const ::std::size_t& iterations = 1000
94 template<
typename T> T
atan2(
const T& y,
const T& x)
const
96 T a = ::std::atan2(y, x);
97 return (::std::abs(a) <= 1.0e-6f) ? 0.0f : a;
100 template<
typename T> T
cos(
const T& x)
const
103 return (::std::abs(c) <= 1.0e-6f) ? 0.0f : c;
106 template<
typename T> T
sin(
const T& x)
const
109 return (::std::abs(s) <= 1.0e-6f) ? 0.0f : s;
121 #endif // RL_KIN_PUMA_H
Arm arm
Definition: Puma.h:112
Elbow
Definition: Puma.h:49
::Eigen::Transform< Real, 3, ::Eigen::Affine > Transform
Rigid transformation in 3D.
Definition: Transform.h:46
@ ARM_LEFT
Definition: Puma.h:44
@ ARM_RIGHT
Definition: Puma.h:45
::Eigen::Matrix< Real, ::Eigen::Dynamic, 1 > Vector
Definition: Vector.h:42
Elbow getElbow() const
Definition: Puma.cpp:64
Wrist getWrist() const
Definition: Puma.cpp:70
void parameters(const ::rl::math::Vector &q, Arm &arm, Elbow &elbow, Wrist &wrist) const
Definition: Puma.cpp:290
Wrist
Definition: Puma.h:55
virtual Kinematics * clone() const
Definition: Puma.cpp:52
@ WRIST_FLIP
Definition: Puma.h:56
@ ELBOW_ABOVE
Definition: Puma.h:50
Wrist wrist
Definition: Puma.h:116
Elbow elbow
Definition: Puma.h:114
T atan2(const T &y, const T &x) const
Definition: Puma.h:94
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: Puma.cpp:76
Arm getArm() const
Definition: Puma.cpp:58
void setElbow(const Elbow &elbow)
Definition: Puma.cpp:365
T cos(const T &x) const
Definition: Puma.h:100
@ ELBOW_BELOW
Definition: Puma.h:51
void setWrist(const Wrist &wrist)
Definition: Puma.cpp:371
@ WRIST_NONFLIP
Definition: Puma.h:57
TRR base and TRT wrist.
Definition: Puma.h:40
bool isSingular() const
Check if current configuration is singular.
Definition: Puma.cpp:284
Definition: Kinematics.h:52
double Real
Definition: Real.h:42
void setArm(const Arm &arm)
Definition: Puma.cpp:359
T sin(const T &x) const
Definition: Puma.h:106
virtual ~Puma()
Definition: Puma.cpp:47
Puma()
Definition: Puma.cpp:39
Robotics Library.
Definition: AnalogInput.cpp:30