Go to the documentation of this file.
22 #include <ignition/math/Pose3.hh>
23 #include <ignition/utils/ImplPtr.hh>
27 #include "sdf/sdf_config.h"
33 inline namespace SDF_VERSION_NAMESPACE {
38 struct FrameAttachedToGraph;
39 struct PoseRelativeToGraph;
40 template <
typename T>
class ScopedGraph;
101 public:
const std::string &Name()
const;
106 public:
void SetName(
const std::string &_name);
114 public:
void SetType(
const JointType _jointType);
118 public:
const std::string &ParentLinkName()
const;
122 public:
void SetParentLinkName(
const std::string &_name);
126 public:
const std::string &ChildLinkName()
const;
130 public:
void SetChildLinkName(
const std::string &_name);
136 public:
Errors ResolveChildLink(std::string &_link)
const;
142 public:
Errors ResolveParentLink(std::string &_link)
const;
152 public:
const JointAxis *Axis(
const unsigned int _index = 0)
const;
160 public:
void SetAxis(
const unsigned int _index,
const JointAxis &_axis);
167 public:
const ignition::math::Pose3d &RawPose()
const;
172 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
178 public:
const std::string &PoseRelativeTo()
const;
184 public:
void SetPoseRelativeTo(
const std::string &_frame);
188 public:
double ThreadPitch()
const;
192 public:
void SetThreadPitch(
double _threadPitch);
207 public: uint64_t SensorCount()
const;
214 public:
const Sensor *SensorByIndex(
const uint64_t _index)
const;
219 public:
bool SensorNameExists(
const std::string &_name)
const;
226 public:
const Sensor *SensorByName(
const std::string &_name)
const;
232 private:
void SetFrameAttachedToGraph(
238 private:
void SetPoseRelativeToGraph(
245 IGN_UTILS_IMPL_PTR(dataPtr)
Definition: Collision.hh:39
namespace for Simulation Description Format parser
Definition: Actor.hh:33
@ UNIVERSAL
Similar to a ball joint, but constrains one degree of freedom.
@ PRISMATIC
A sliding joint that slides along an axis with a limited range specified by upper and lower limits.
@ FIXED
A joint with zero degrees of freedom that rigidly connects two links.
@ REVOLUTE
A hinge joint that rotates on a single axis with a fixed range of motion.
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106
@ REVOLUTE2
Same as two revolute joints connected in series.
@ SCREW
A single degree of freedom joint with coupled sliding and rotational motion.
Parameters related to the axis of rotation for rotational joints, and the axis of translation for pri...
Definition: JointAxis.hh:42
#define SDFORMAT_VISIBLE
Definition: system_util.hh:41
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:54
SDF Element class.
Definition: Element.hh:73
JointType
Definition: Joint.hh:46
@ CONTINUOUS
A hinge joint that rotates on a single axis with a continuous range of motion.
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54
Information about an SDF sensor.
Definition: Sensor.hh:132
@ BALL
A ball and socket joint.
@ GEARBOX
Geared revolute joint.