Go to the documentation of this file.
32 nj(chain.getNrOfJoints()),
33 ns(chain.getNrOfSegments()),
36 chainidsolver_coriolis( chain,
Vector::Zero()),
37 chainidsolver_gravity( chain, grav),
38 wrenchnull(ns,
Wrench::Zero()),
65 if(q.
rows()!=
nj || H.rows()!=
nj || H.columns()!=
nj )
71 for(
unsigned int i=0;i<
ns;i++)
90 for(
int i=
ns-1;i>=0;i--)
std::vector< Wrench > wrenchnull
int CartToJnt(const JntArray &q, const JntArray &q_dot, const JntArray &q_dotdot, const Wrenches &f_ext, JntArray &torques)
virtual void updateInternalDataStructures()
const Joint & getJoint() const
void resize(unsigned int newSize)
std::vector< ArticulatedBodyInertia, Eigen::aligned_allocator< ArticulatedBodyInertia > > Ic
@ E_NOT_UP_TO_DATE
Chain size changed.
unsigned int getNrOfSegments() const
A concrete implementation of a 3 dimensional vector class.
represents both translational and rotational velocities.
unsigned int rows() const
doubleAcc dot(const VectorAcc &lhs, const VectorAcc &rhs)
const Segment & getSegment(unsigned int nr) const
@ E_SIZE_MISMATCH
Input size does not match internal state.
represents both translational and rotational acceleration.
Frame pose(const double &q) const
virtual int JntToMass(const JntArray &q, JntSpaceInertiaMatrix &H)
const double & getInertia() const
Twist twist(const double &q, const double &qdot) const
ChainDynParam(const Chain &chain, Vector _grav)
ChainIdSolver_RNE chainidsolver_coriolis
ChainIdSolver_RNE chainidsolver_gravity
virtual int JntToGravity(const JntArray &q, JntArray &gravity)
const JointType & getType() const
void SetToZero(Jacobian &jac)
virtual int JntToCoriolis(const JntArray &q, const JntArray &q_dot, JntArray &coriolis)
This class encapsulates a serial kinematic interconnection structure. It is built out of segments.
const RigidBodyInertia & getInertia() const
unsigned int getNrOfJoints() const
int error
Latest error, initialized to E_NOERROR in constructor.
virtual void updateInternalDataStructures()