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);
174 public:
const ignition::math::Pose3d &Pose()
const
181 public:
void SetPose(
const ignition::math::Pose3d &_pose)
189 public:
const ignition::math::Pose3d &RawPose()
const;
194 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
200 public:
const std::string &PoseRelativeTo()
const;
206 public:
void SetPoseRelativeTo(
const std::string &_frame);
213 public:
const std::string &PoseFrame()
const
221 public:
void SetPoseFrame(
const std::string &_frame)
226 public:
double ThreadPitch()
const;
230 public:
void SetThreadPitch(
double _threadPitch);
247 private:
void SetPoseRelativeToGraph(
248 std::weak_ptr<const PoseRelativeToGraph> _graph);
254 private: JointPrivate *dataPtr =
nullptr;
JointType
Definition: Joint.hh:43
Parameters related to the axis of rotation for rotational joints, and the axis of translation for pri...
Definition: JointAxis.hh:40
@ GEARBOX
Geared revolute joint.
@ REVOLUTE2
Same as two revolute joints connected in series.
namespace for Simulation Description Format parser
Definition: Actor.hh:32
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:89
@ CONTINUOUS
A hinge joint that rotates on a single axis with a continuous range of motion.
#define SDFORMAT_VISIBLE
Definition: system_util.hh:48
@ SCREW
A single degree of freedom joint with coupled sliding and rotational motion.
@ BALL
A ball and socket joint.
@ INVALID
An invalid joint.
class SDFORMAT_VISIBLE SDF_DEPRECATED(9.2) URDF2SDF
URDF to SDF converter.
Definition: parser_urdf.hh:40
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:53
@ REVOLUTE
A hinge joint that rotates on a single axis with a fixed range of motion.
@ UNIVERSAL
Similar to a ball joint, but constrains one degree of freedom.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
@ FIXED
A joint with zero degrees of freedom that rigidly connects two links.
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
@ PRISMATIC
A sliding joint that slides along an axis with a limited range specified by upper and lower limits.