7 #error This class is not to be included by the user directly. Use RevoluteJointd.h or RevoluteJointf.h instead.
19 virtual unsigned num_dof()
const {
return 1; }
virtual void calc_constraint_jacobian(bool inboard, MATRIXN &Cq)
Computes the constraint jacobian with respect to a body.
Definition: RevoluteJoint.cpp:150
void set_axis(const VECTOR3 &axis)
Sets the axis of rotation for this joint (MUST BE CALLED AFTER set_location(.))
Definition: RevoluteJoint.cpp:27
virtual unsigned num_dof() const
Gets the number of degrees-of-freedom for this joint.
Definition: RevoluteJoint.h:19
A generic, possibly non-square matrix.
Definition: MatrixN.h:18
virtual void calc_constraint_jacobian_dot(bool inboard, MATRIXN &Cq)
Computes the time derivative of the constraint jacobian with respect to a body.
Definition: RevoluteJoint.cpp:250
virtual void evaluate_constraints(REAL C[])
Evaluates the constraint equations.
Definition: RevoluteJoint.cpp:118
virtual bool is_singular_config() const
Revolute joint can never be in a singular configuration.
Definition: RevoluteJoint.h:27
VECTOR3 _ui
Two unit vectors that make a orthonormal basis with _u.
Definition: RevoluteJoint.h:35
VECTOR3 _v2
The joint axis (defined in outer relative pose coordinates)
Definition: RevoluteJoint.h:38
VECTORN q
The position of this joint.
Definition: Joint.h:144
virtual const std::vector< SVELOCITY > & get_spatial_axes_dot()
Gets the derivative for the spatial axes for this joint.
Definition: RevoluteJoint.cpp:112
A generic N-dimensional floating point vector.
Definition: VectorN.h:16
virtual void determine_q(VECTORN &q)
Determines (and sets) the value of Q from the axis and the inboard link and outboard link transforms...
Definition: RevoluteJoint.cpp:70
std::vector< SVELOCITY > _s_dot
The time derivative of the spatial axis – should be zero vector 6x1.
Definition: RevoluteJoint.h:41
A three-dimensional floating point vector used for representing points and vectors in 3D with associa...
Definition: Vector3.h:15
REVOLUTEJOINT()
Initializes the joint.
Definition: RevoluteJoint.cpp:11
Defines a rotary joint.
Definition: RevoluteJoint.h:11
virtual boost::shared_ptr< const POSE3 > get_induced_pose()
Gets the pose for this joint.
Definition: RevoluteJoint.cpp:103
VECTOR3 _u
The joint axis (defined in inner relative pose coordinates)
Definition: RevoluteJoint.h:32
Defines a bilateral constraint (a joint)
Definition: Joint.h:14
virtual void update_spatial_axes()
Updates the spatial axis for this joint.
Definition: RevoluteJoint.cpp:56