Go to the documentation of this file.
22 #include <ignition/math/Pose3.hh>
26 #include "sdf/sdf_config.h"
32 inline namespace SDF_VERSION_NAMESPACE {
38 struct PoseRelativeToGraph;
103 public:
Joint &operator=(
const Joint &_joint);
119 public:
const std::string &Name()
const;
124 public:
void SetName(
const std::string &_name);
132 public:
void SetType(
const JointType _jointType);
136 public:
const std::string &ParentLinkName()
const;
140 public:
void SetParentLinkName(
const std::string &_name);
144 public:
const std::string &ChildLinkName()
const;
148 public:
void SetChildLinkName(
const std::string &_name);
158 public:
const JointAxis *Axis(
const unsigned int _index = 0)
const;
166 public:
void SetAxis(
const unsigned int _index,
const JointAxis &_axis);
173 public:
const ignition::math::Pose3d &RawPose()
const;
178 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
184 public:
const std::string &PoseRelativeTo()
const;
190 public:
void SetPoseRelativeTo(
const std::string &_frame);
194 public:
double ThreadPitch()
const;
198 public:
void SetThreadPitch(
double _threadPitch);
215 private:
void SetPoseRelativeToGraph(
216 std::weak_ptr<const PoseRelativeToGraph> _graph);
222 private: JointPrivate *dataPtr =
nullptr;
@ UNIVERSAL
Similar to a ball joint, but constrains one degree of freedom.
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:53
Parameters related to the axis of rotation for rotational joints, and the axis of translation for pri...
Definition: JointAxis.hh:41
@ REVOLUTE
A hinge joint that rotates on a single axis with a fixed range of motion.
JointType
Definition: Joint.hh:43
@ PRISMATIC
A sliding joint that slides along an axis with a limited range specified by upper and lower limits.
namespace for Simulation Description Format parser
Definition: Actor.hh:32
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:95
@ INVALID
An invalid joint.
@ GEARBOX
Geared revolute joint.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
#define SDFORMAT_VISIBLE
Definition: system_util.hh:48
@ FIXED
A joint with zero degrees of freedom that rigidly connects two links.
@ BALL
A ball and socket joint.
@ CONTINUOUS
A hinge joint that rotates on a single axis with a continuous range of motion.
@ SCREW
A single degree of freedom joint with coupled sliding and rotational motion.
@ REVOLUTE2
Same as two revolute joints connected in series.
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49