|
Blender V5.0
|
This class encapsulates a simple joint, that is with one parameterized degree of freedom and with scalar dynamic properties. More...
#include <joint.hpp>
Public Types | |
| enum | JointType { RotX , RotY , RotZ , TransX , TransY , TransZ , Sphere , Swing , None } |
Public Member Functions | |
| Joint (const JointType &type=None, const double &scale=1, const double &offset=0, const double &inertia=0, const double &damping=0, const double &stiffness=0) | |
| Joint (const Joint &in) | |
| Joint & | operator= (const Joint &arg) |
| Frame | pose (const double *q) const |
| Twist | twist (const double &qdot, int dof=0) const |
| const JointType & | getType () const |
| const std::string | getTypeName () const |
| unsigned int | getNDof () const |
| virtual | ~Joint () |
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 :
| KDL::Joint::Joint | ( | const JointType & | type = None, |
| const double & | scale = 1, | ||
| const double & | offset = 0, | ||
| const double & | inertia = 0, | ||
| const double & | damping = 0, | ||
| const double & | stiffness = 0 ) |
Constructor of a joint.
| type | type of the joint, default: Joint::None |
| 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 Joint & | in | ) |
|
virtual |
| unsigned int KDL::Joint::getNDof | ( | ) | const |
|
inline |
|
inline |
| Frame KDL::Joint::pose | ( | const double * | q | ) | const |
| Twist KDL::Joint::twist | ( | const double & | qdot, |
| int | dof = 0 ) const |