33 #ifndef DART_DYNAMICS_DETAIL_JOINTASPECT_HPP_
34 #define DART_DYNAMICS_DETAIL_JOINTASPECT_HPP_
37 #include <Eigen/Geometry>
138 const std::string& _name =
"Joint",
139 const Eigen::Isometry3d& _T_ParentBodyToJoint
140 = Eigen::Isometry3d::Identity(),
141 const Eigen::Isometry3d& _T_ChildBodyToJoint
142 = Eigen::Isometry3d::Identity(),
143 bool _isPositionLimitEnforced =
false,
145 const Joint* _mimicJoint =
nullptr,
146 double _mimicMultiplier = 1.0,
147 double _mimicOffset = 0.0);
153 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
class Joint
Definition: Joint.hpp:60
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:65
Definition: JointAspect.hpp:112
double mMimicOffset
Definition: JointAspect.hpp:134
const Joint * mMimicJoint
Mimic joint.
Definition: JointAspect.hpp:131
virtual ~JointProperties()=default
std::string mName
Joint name.
Definition: JointAspect.hpp:114
bool mIsPositionLimitEnforced
True if the joint position or velocity limits should be enforced in dynamic simulation.
Definition: JointAspect.hpp:124
ActuatorType mActuatorType
Actuator type.
Definition: JointAspect.hpp:128
double mMimicMultiplier
Mimic joint properties.
Definition: JointAspect.hpp:134
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:61
Eigen::Isometry3d mT_ParentBodyToJoint
Transformation from parent BodyNode to this Joint.
Definition: JointAspect.hpp:117