This class encapsulates a simple joint, that is with one parameterized degree of freedom and with scalar dynamic properties. More...
#include <joint.hpp>
Classes | |
class | joint_type_exception |
Public Types | |
enum | JointType { RotAxis, RotX, RotY, RotZ, TransAxis, TransX, TransY, TransZ, Fixed, None =Fixed } |
Public Member Functions | |
const Vector & | getAxis () const |
const double & | getDamping () const |
const double & | getInertia () const |
const std::string & | getName () const |
const double & | getOffset () const |
const Vector & | getOrigin () const |
const double & | getScale () const |
const double & | getStiffness () const |
const JointType & | getType () const |
const std::string | getTypeName () const |
Joint (const std::string &name, const JointType &type=Fixed, const double &scale=1, const double &offset=0, const double &inertia=0, const double &damping=0, const double &stiffness=0) | |
Joint (const JointType &type=Fixed, const double &scale=1, const double &offset=0, const double &inertia=0, const double &damping=0, const double &stiffness=0) | |
Joint (const std::string &name, const Vector &_origin, const Vector &_axis, const JointType &type, const double &_scale=1, const double &_offset=0, const double &_inertia=0, const double &_damping=0, const double &_stiffness=0) | |
Joint (const Vector &_origin, const Vector &_axis, const JointType &type, const double &_scale=1, const double &_offset=0, const double &_inertia=0, const double &_damping=0, const double &_stiffness=0) | |
Vector | JointAxis () const |
Vector | JointOrigin () const |
Frame | pose (const double &q) const |
Twist | twist (const double &qdot) const |
virtual | ~Joint () |
Private Attributes | |
Vector | axis |
double | damping |
double | inertia |
Frame | joint_pose |
KDL::Joint::joint_type_exception | joint_type_ex |
std::string | name |
double | offset |
Vector | origin |
double | q_previous |
double | scale |
double | stiffness |
Joint::JointType | type |
This class encapsulates a simple joint, that is with one parameterized degree of freedom and with scalar dynamic properties.
A simple joint is described by the following properties :
|
explicit |
Constructor of a joint.
name | of the joint |
type | type of the joint, default: Joint::Fixed |
scale | scale between joint input and actual geometric movement, default: 1 |
offset | offset between joint input and actual geometric input, default: 0 |
inertia | 1D inertia along the joint axis, default: 0 |
damping | 1D damping along the joint axis, default: 0 |
stiffness | 1D stiffness along the joint axis, default: 0 |
|
explicit |
Constructor of a joint.
type | type of the joint, default: Joint::Fixed |
scale | scale between joint input and actual geometric movement, default: 1 |
offset | offset between joint input and actual geometric input, default: 0 |
inertia | 1D inertia along the joint axis, default: 0 |
damping | 1D damping along the joint axis, default: 0 |
stiffness | 1D stiffness along the joint axis, default: 0 |
KDL::Joint::Joint | ( | const std::string & | name, |
const Vector & | _origin, | ||
const Vector & | _axis, | ||
const JointType & | type, | ||
const double & | _scale = 1 , |
||
const double & | _offset = 0 , |
||
const double & | _inertia = 0 , |
||
const double & | _damping = 0 , |
||
const double & | _stiffness = 0 |
||
) |
Constructor of a joint.
name | of the joint |
origin | the origin of the joint |
axis | the axis of the joint |
scale | scale between joint input and actual geometric movement, default: 1 |
offset | offset between joint input and actual geometric input, default: 0 |
inertia | 1D inertia along the joint axis, default: 0 |
damping | 1D damping along the joint axis, default: 0 |
stiffness | 1D stiffness along the joint axis, default: 0 |
KDL::Joint::Joint | ( | const Vector & | _origin, |
const Vector & | _axis, | ||
const JointType & | type, | ||
const double & | _scale = 1 , |
||
const double & | _offset = 0 , |
||
const double & | _inertia = 0 , |
||
const double & | _damping = 0 , |
||
const double & | _stiffness = 0 |
||
) |
Constructor of a joint.
origin | the origin of the joint |
axis | the axis of the joint |
scale | scale between joint input and actual geometric movement, default: 1 |
offset | offset between joint input and actual geometric input, default: 0 |
inertia | 1D inertia along the joint axis, default: 0 |
damping | 1D damping along the joint axis, default: 0 |
stiffness | 1D stiffness along the joint axis, default: 0 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Vector KDL::Joint::JointAxis | ( | ) | const |
Vector KDL::Joint::JointOrigin | ( | ) | const |
Frame KDL::Joint::pose | ( | const double & | q | ) | const |
Twist KDL::Joint::twist | ( | const double & | qdot | ) | const |
|
private |
|
private |