Go to the documentation of this file.
85 static fVec3 v1, v2, v3, v4;
98 v4.
mul(t_rel_att, v1);
139 int is_target =
false;
147 if(my_chname && !strcmp(my_chname, chname))
157 com.add(b_com, c_com);
160 static fVec3 abs_com_pos, my_com;
Joint * parent
pointer to the parent joint
fVec3 abs_pos
absolute position
void add(const fVec3 &vec1, const fVec3 &vec2)
Joint * root
Chain information.
void cross(const fVec3 &vec1, const fVec3 &vec2)
Cross product.
void mul(const fMat33 &mat1, const fMat33 &mat2)
fVec3 rel_pos
(initial) position in parent joint's frame (for 0/3/6 DOF joints)
Joint * child
pointer to the child joint
double total_com(fVec3 &com, const char *chname)
void CalcPosition()
Forward kinematics.
fVec3 loc_com_vel
com velocity in local frame
fVec3 loc_com
center of mass in local frame
fMat33 rel_att
(initial) orientation in parent joint's frame (for 0/3/6 DOF joints)
char * CharName() const
Returns the character name.
Classes for defining open/closed kinematic chains.
fMat33 abs_att
absolute orientation
friend fMat33 tran(const fMat33 &m)
Returns the transpose.
fVec3 loc_ang_acc
angular acceleration in local frame
fVec3 loc_lin_vel
linear velocity in local frame
Joint * brother
pointer to the brother joint
fVec3 loc_com_acc
com acceleration in local frame
fVec3 loc_ang_vel
angular velocity in local frame
void zero()
Creates a zero vector.
fVec3 loc_lin_acc
linear acceleration in local frame
void mul(const fVec3 &vec, double d)
double TotalCOM(fVec3 &com, const char *chname=0)
Center of mass of the chain.
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:02