33 #ifndef DART_DYNAMICS_DETAIL_JOINTASPECT_HPP_
34 #define DART_DYNAMICS_DETAIL_JOINTASPECT_HPP_
37 #include <Eigen/Geometry>
136 const Eigen::Isometry3d& _T_ParentBodyToJoint =
137 Eigen::Isometry3d::Identity(),
138 const Eigen::Isometry3d& _T_ChildBodyToJoint =
139 Eigen::Isometry3d::Identity(),
140 bool _isPositionLimitEnforced =
false,
142 const Joint* _mimicJoint =
nullptr,
143 double _mimicMultiplier = 1.0,
144 double _mimicOffset = 0.0);
150 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
class Joint
Definition: Joint.hpp:59
ActuatorType
Actuator type.
Definition: JointAspect.hpp:59
@ PASSIVE
Passive joint doesn't take any command input, and the output is joint acceleration.
Definition: JointAspect.hpp:72
@ MIMIC
There is no command input.
Definition: JointAspect.hpp:86
@ FORCE
Command input is joint force, and the output is joint acceleration.
Definition: JointAspect.hpp:65
@ VELOCITY
Command input is joint velocity, and the output is joint force.
Definition: JointAspect.hpp:99
@ ACCELERATION
Command input is joint acceleration, and the output is joint force.
Definition: JointAspect.hpp:92
@ SERVO
Command input is desired velocity, and the output is joint acceleration.
Definition: JointAspect.hpp:78
@ LOCKED
Locked joint always set the velocity and acceleration to zero so that the joint dosen't move at all (...
Definition: JointAspect.hpp:106
const ActuatorType DefaultActuatorType
Definition: JointAspect.hpp:109
Definition: BulletCollisionDetector.cpp:63
Definition: JointAspect.hpp:112
double mMimicOffset
Definition: JointAspect.hpp:132
const Joint * mMimicJoint
Mimic joint.
Definition: JointAspect.hpp:129
virtual ~JointProperties()=default
std::string mName
Joint name.
Definition: JointAspect.hpp:114
bool mIsPositionLimitEnforced
True if the joint limits should be enforced in dynamic simulation.
Definition: JointAspect.hpp:123
ActuatorType mActuatorType
Actuator type.
Definition: JointAspect.hpp:126
double mMimicMultiplier
Mimic joint properties.
Definition: JointAspect.hpp:132
Eigen::Isometry3d mT_ChildBodyToJoint
Transformation from child BodyNode to this Joint.
Definition: JointAspect.hpp:120
JointProperties(const std::string &_name="Joint", const Eigen::Isometry3d &_T_ParentBodyToJoint=Eigen::Isometry3d::Identity(), const Eigen::Isometry3d &_T_ChildBodyToJoint=Eigen::Isometry3d::Identity(), bool _isPositionLimitEnforced=false, ActuatorType _actuatorType=DefaultActuatorType, const Joint *_mimicJoint=nullptr, double _mimicMultiplier=1.0, double _mimicOffset=0.0)
Constructor.
Definition: Joint.cpp:60
Eigen::Isometry3d mT_ParentBodyToJoint
Transformation from parent BodyNode to this Joint.
Definition: JointAspect.hpp:117