Robot Dynamics Library
|
CustomJoint is a struct used to create a joint with user defined parameters. This is accomplished by overriding the RobotDynamics::Joint::jcalc methods that calculate each joints kinematic parameters. More...
#include <Joint.hpp>
Public Member Functions | |
CustomJoint () | |
Constructor. More... | |
virtual | ~CustomJoint () |
Destructor. More... | |
virtual void | jcalc (Model &model, unsigned int joint_id, const Math::VectorNd &q, const Math::VectorNd &qdot)=0 |
virtual void | jcalc_X_lambda_S (Model &model, unsigned int joint_id, const Math::VectorNd &q)=0 |
Public Attributes | |
unsigned int | mDoFCount |
Math::SpatialTransform | XJ |
Math::MatrixNd | S |
Math::MatrixNd | S_o |
Math::MatrixNd | U |
Math::MatrixNd | Dinv |
Math::VectorNd | u |
Math::VectorNd | d_u |
Math::VectorNd | ndof0_vec |
CustomJoint is a struct used to create a joint with user defined parameters. This is accomplished by overriding the RobotDynamics::Joint::jcalc methods that calculate each joints kinematic parameters.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
model | |
joint_id | |
q | |
qdot |
|
pure virtual |
Math::VectorNd RobotDynamics::CustomJoint::d_u |
Math::MatrixNd RobotDynamics::CustomJoint::Dinv |
unsigned int RobotDynamics::CustomJoint::mDoFCount |
Degrees of freedom of the joint
Math::VectorNd RobotDynamics::CustomJoint::ndof0_vec |
mDoFCount x 1 vector of zeros
Math::MatrixNd RobotDynamics::CustomJoint::S |
Motion subspace map
Math::MatrixNd RobotDynamics::CustomJoint::S_o |
Motion subspace map
Math::MatrixNd RobotDynamics::CustomJoint::U |
Math::VectorNd RobotDynamics::CustomJoint::u |
Math::SpatialTransform RobotDynamics::CustomJoint::XJ |
Joint state transform. Transform from parent