14 #ifndef HRPMODEL_LINK_H_INCLUDED 15 #define HRPMODEL_LINK_H_INCLUDED 20 #include <boost/intrusive_ptr.hpp> 49 void addChild(
Link* link);
50 bool detachChild(
Link* link);
67 void calcSubMassInertia(
Matrix33& subIw);
80 coldetModel->setPosition(R, p);
203 void setBodyIter(
Body* body);
204 friend std::ostream& ::operator<<(std::ostream &out,
hrp::Link& link);
205 void putInformation(std::ostream& out);
double Ir
rotor inertia [kg.m^2]
Vector3 ptau
bias force (torque element)
Matrix33 Iwv
bottom left block (transpose of top right block) of the articulated inertia
void updateColdetModelPosition()
Vector3 pf
bias force (linear element)
ConstraintForceArray constraintForces
Vector3 fext
external force
Vector3 vo
translation elements of spacial velocity
double ddq
joint acceleration
Vector3 submwc
sum of m x wc of subtree
ColdetModelPtr coldetModel
void setAttitude(const Matrix33 &R)
Vector3 w
angular velocity, omega
Matrix33 calcRfromAttitude(const Matrix33 &R)
std::vector< Light * > lights
lights attached to this link
HRPMODEL_API std::ostream & operator<<(std::ostream &out, hrp::Link &link)
std::vector< ConstraintForce > ConstraintForceArray
void setSegmentAttitude(const Matrix33 &R)
double lvlimit
the lower limit of joint velocities
Vector3 tauext
external torque (around the world origin)
Vector3 dv
linear acceleration
Vector3 b
relative position (parent local)
Matrix33 Rs
relative attitude of the link segment (self local)
Vector3 dvo
derivative of vo
Vector3 dw
derivative of omega
Vector3 cw
dsw * dq (cross velocity term)
double uvlimit
the upper limit of joint velocities
Vector3 cv
dsv * dq (cross velocity term)
Matrix33 I
inertia tensor (self local, around c)
Vector3 hhv
top block of Ia*s
int jointId
jointId value written in a model file
double llimit
the lower limit of joint values
Vector3 hhw
bottom bock of Ia*s
double climit
the upper limit of joint current (tlimit = climit x grarRatio x torqueConst)
Matrix33 Iww
bottm right block of the articulated inertia
std::vector< Sensor * > sensors
sensors attached to this link
boost::intrusive_ptr< ColdetModel > ColdetModelPtr
double ulimit
the upper limit of joint values
Vector3 a
rotational joint axis (self local)
Vector3 d
translation joint axis (self local)
double subm
mass of subtree
Vector3 c
center of mass (self local)
Matrix33 segmentAttitude()
double Jm2
Equivalent rotor inertia: n^2*Jm [kg.m^2].
Matrix33 Ivv
top left block of the articulated inertia