38 unsigned int segNr = (
unsigned int)segmentNr;
40 segNr=chain.getNrOfSegments();
44 if(q_in.
rows()!=chain.getNrOfJoints())
46 else if(segNr>chain.getNrOfSegments())
50 for(
unsigned int i=0;
i<segNr;
i++){
51 p_out = p_out*chain.getSegment(
i).pose(((
JntArray&)q_in)(j));
52 j+=chain.getSegment(
i).getJoint().getNDof();
virtual int JntToCart(const JntArray &q_in, Frame &p_out, int segmentNr=-1)
~ChainFkSolverPos_recursive()
ChainFkSolverPos_recursive(const Chain &chain)
This class encapsulates a serial kinematic interconnection structure. It is build out of segments.
represents a frame transformation in 3D space (rotation + translation)
unsigned int rows() const