34 M(
in.M),joint(
in.joint),
53 return joint.pose(q)*f_tip;
63 return joint.twist(qdot, dof).
RefPoint(p);
68 return (f.
M*joint.twist(qdot, dof)).
RefPoint(f.
p);
represents a frame transformation in 3D space (rotation + translation)
Rotation M
Orientation of the Frame.
Vector p
origine of the Frame
This class encapsulates a simple joint, that is with one parameterized degree of freedom and with sca...
Segment & operator=(const Segment &arg)
Frame pose(const double *q) const
Twist twist(const double *q, const double &qdot, int dof=0) const
Segment(const Joint &joint=Joint(), const Frame &f_tip=Frame::Identity(), const Inertia &M=Inertia::Zero())
represents both translational and rotational velocities.
Twist RefPoint(const Vector &v_base_AB) const
Changes the reference point of the twist. The vector v_base_AB is expressed in the same base as the t...
A concrete implementation of a 3 dimensional vector class.