33 #ifndef DART_DYNAMICS_EULERJOINT_HPP_
34 #define DART_DYNAMICS_EULERJOINT_HPP_
104 template <typename RotationType>
106 const RotationType& _rotation,
AxisOrder _ordering)
115 dtwarn <<
"[EulerJoint::convertToPositions] Unsupported AxisOrder ("
116 <<
static_cast<int>(_ordering) <<
"), returning a zero vector\n";
117 return Eigen::Vector3d::Zero();
124 template <
typename RotationType>
147 const Eigen::Vector3d& _positions)
const override;
157 using Base::getRelativeJacobianStatic;
#define dtwarn
Output a warning message.
Definition: Console.hpp:46
BodyPropPtr properties
Definition: SdfParser.cpp:80
Terminator for the variadic template.
Definition: CompositeJoiner.hpp:45
This is an alternative to EmbedProperties which allows your class to also inherit other Composite obj...
Definition: EmbeddedAspect.hpp:248
typename Impl::Aspect Aspect
Definition: EmbeddedAspect.hpp:255
typename Impl::AspectProperties AspectProperties
Definition: EmbeddedAspect.hpp:254
class EulerJoint
Definition: EulerJoint.hpp:43
static Eigen::Vector3d convertToPositions(const RotationType &_rotation, AxisOrder _ordering)
Convert a rotation into a 3D vector that can be used to set the positions of an EulerJoint with the s...
Definition: EulerJoint.hpp:105
Eigen::Vector3d convertToPositions(const RotationType &_rotation) const
This is a version of EulerJoint::convertToPositions(const RotationType&, AxisOrder) which will use th...
Definition: EulerJoint.hpp:125
detail::EulerJointProperties Properties
Definition: EulerJoint.hpp:49
void setAxisOrder(AxisOrder _order, bool _renameDofs=true)
Set the axis order.
Definition: EulerJoint.cpp:122
void copy(const EulerJoint &_otherJoint)
Copy the Properties of another EulerJoint.
Definition: EulerJoint.cpp:78
void setAspectProperties(const AspectProperties &properties)
Set the AspectProperties of this EulerJoint.
Definition: EulerJoint.cpp:65
Properties getEulerJointProperties() const
Get the Properties of this EulerJoint.
Definition: EulerJoint.cpp:71
void setProperties(const Properties &_properties)
Set the Properties of this EulerJoint.
Definition: EulerJoint.cpp:51
bool isCyclic(std::size_t _index) const override
Definition: EulerJoint.cpp:116
void updateRelativeJacobian(bool=true) const override
Definition: EulerJoint.cpp:345
static Eigen::Isometry3d convertToTransform(const Eigen::Vector3d &_positions, AxisOrder _ordering)
Convert a set of Euler angle positions into a transform.
Definition: EulerJoint.cpp:140
void updateRelativeTransform() const override
Definition: EulerJoint.cpp:336
EulerJoint(const EulerJoint &)=delete
static Eigen::Matrix3d convertToRotation(const Eigen::Vector3d &_positions, AxisOrder _ordering)
Convert a set of Euler angle positions into a rotation matrix.
Definition: EulerJoint.cpp:154
void updateDegreeOfFreedomNames() override
Set the names of this joint's DegreesOfFreedom.
Definition: EulerJoint.cpp:305
Eigen::Matrix< double, 6, 3 > getRelativeJacobianStatic(const Eigen::Vector3d &_positions) const override
Definition: EulerJoint.cpp:180
void updateRelativeJacobianTimeDeriv() const override
Definition: EulerJoint.cpp:351
Joint * clone() const override
Definition: EulerJoint.cpp:299
detail::AxisOrder AxisOrder
Definition: EulerJoint.hpp:47
const std::string & getType() const override
Definition: EulerJoint.cpp:103
AxisOrder getAxisOrder() const
Return the axis order.
Definition: EulerJoint.cpp:134
static const std::string & getStaticType()
Get joint type for this class.
Definition: EulerJoint.cpp:109
class Joint
Definition: Joint.hpp:59
class Skeleton
Definition: Skeleton.hpp:59
#define DART_BAKE_SPECIALIZED_ASPECT_IRREGULAR(TypeName, AspectName)
Definition: Composite.hpp:164
Definition: Random-impl.hpp:92
AxisOrder
Axis order.
Definition: EulerJointAspect.hpp:50
common::EmbedPropertiesOnTopOf< EulerJoint, EulerJointUniqueProperties, GenericJoint< math::R3Space > > EulerJointBase
Definition: EulerJointAspect.hpp:86
Eigen::Vector3d matrixToEulerXYZ(const Eigen::Matrix3d &_R)
get the Euler XYZ angle from R
Definition: Geometry.cpp:105
Eigen::Vector3d matrixToEulerZYX(const Eigen::Matrix3d &_R)
get the Euler ZYX angle from R
Definition: Geometry.cpp:136
Definition: BulletCollisionDetector.cpp:63
Definition: SharedLibraryManager.hpp:43
Definition: EulerJointAspect.hpp:71
Definition: EulerJointAspect.hpp:57