|
| | RobotLink () |
| |
| | RobotLink (const JointType type, const Eigen::Vector3d &axis, const Eigen::TransformationMatrix &baseTransf, double jointLimMin, double jointLimMax) |
| |
| virtual | ~RobotLink () |
| |
| void | SetKinematicProperties (const JointType type, const Eigen::Vector3d &axis, const Eigen::TransformationMatrix &baseTransf, double jointLimMin, double jointLimMax) |
| | Sets the kinematic properties of the link.
|
| |
| void | SetDynamicProperties (double mass, const Eigen::Vector3d &sizes, const Eigen::Vector3d &CoM, const Eigen::Matrix3d &Inertia) |
| | Sets the dynamic properties of the link.
|
| |
| JointType | Type () const |
| |
| const Eigen::Vector3d & | Axis () const |
| |
| const Eigen::TransformationMatrix & | BaseTransf () const |
| |
| double | JointLimitMax () const |
| |
| double | JointLimitMin () const |
| |
| double | Mass () const |
| |
| const Eigen::Vector3d & | Sizes () const |
| |
| const Eigen::Vector3d & | CoM () const |
| |
| const Eigen::Matrix3d & | Inertia () const |
| |
Basic element of an ArmModel.
RobotLink collects all the properties for the single links that compose a kinematic chain. It is the input for the ArmModel::AddLink() function. If you use the empty constructor you must then call the function SetKinematicProperties() to get meaningful results since by default everything is set to zero. Otherwise you can use the full constructor where you have to specify all the necessary variables. In both cases you need to provide the following parameters (in this order):
- The JointType
- Its rotation/translation axis
- The transformation matrix from the previous link
- The minimum value for the joint excursion
- The maximum value for the joint excursion
If you want to use the RobotModel for dynamic purposes (such as pass it to the NewtonEuler class) you need also to call the function SetDynamicProperties() where you need to provide the link's:
- Mass
- The x-y-z sizes
- The link center of mass
- The link inertia matrix