10#include "../math/matrix.h"
41 const double up_lim0=360.,
42 const double low_lim0=-360.,
43 const double offset0=0.,
46 const double mass0=0.,
A class handle single robot link Link implement the model of single of robot link.
Definition link.h:31
double theta
Joint angle data member of modified D-H parameter for link.
Definition link.h:96
rb::math::Matrix4 tf
Link transformation data member of modified D-H parameter for link.
Definition link.h:105
double alpha
Link twist data member of modified D-H parameter for link.
Definition link.h:92
rb::math::Matrix4 computeTransform(const double &q, const bool &update=false)
Compute homogeneous transformation matrix of the link by giving joint value, and return the matrix.
Definition link.cpp:85
double mass
Link mass.
Definition link.h:111
Link()
Default Constructor.
Definition link.cpp:14
Joint jt_type
Joint type data member of of the link.
Definition link.h:109
friend rb::math::Matrix4 operator*(Link &lhs, Link &rhs)
Overload multiply operator to concatenate transformation of two links.
Definition link.cpp:69
double d
Link offset data member of modified D-H parameter for link.
Definition link.h:94
double offset
Joint offset data member of modified D-H parameter for link.
Definition link.h:102
rb::math::Vector3 r
Link CoG w.r.t link coordinate frame.
Definition link.h:113
~Link()
Destructor.
Definition link.cpp:67
friend rb::math::Matrix4 & operator*=(rb::math::Matrix4 &lhs, Link &rhs)
Overload multiply operator to concatenate transformation of two links.
Definition link.cpp:79
rb::math::Matrix3 I
Inertia matrix about link Center of Gravity (CoG).
Definition link.h:112
double a
Link length data member of modified D-H parameter for link.
Definition link.h:90
double up_lim
Upper limit data member of modified D-H parameter for link.
Definition link.h:98
double low_lim
Lower limit data member of modified D-H parameter for link.
Definition link.h:100
Joint
A set of enumeration to indicate the joint type of the robot link.
Definition link.h:21
@ PRISMATIC
Translated joint type.
Definition link.h:23
@ REVOLUTE
Rotated joint type.
Definition link.h:22
Eigen::Matrix3d Matrix3
make Matrix3 as alias of Eigen::Matrix3d
Definition matrix.h:20
Eigen::Matrix4d Matrix4
make Matrix4 as alias of Eigen::Matrix4d
Definition matrix.h:21
Eigen::Vector3d Vector3
make Vector3 as alias of Eigen::Vector3d
Definition matrix.h:24
Robot Arm Library namespace.
Definition artic.cpp:13