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(
233 sdf::ScopedGraph<FrameAttachedToGraph> _graph);
238 private:
void SetPoseRelativeToGraph(
239 sdf::ScopedGraph<PoseRelativeToGraph> _graph);
245 IGN_UTILS_IMPL_PTR(dataPtr)
Information about an SDF sensor.
Definition: Sensor.hh:119
A hinge joint that rotates on a single axis with a fixed range of motion.
A single degree of freedom joint with coupled sliding and rotational motion.
A sliding joint that slides along an axis with a limited range specified by upper and lower limits...
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:98
Same as two revolute joints connected in series.
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:41
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
A joint with zero degrees of freedom that rigidly connects two links.
A hinge joint that rotates on a single axis with a continuous range of motion.
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
SemanticPose is a data structure that can be used by different DOM objects to resolve poses on a Pose...
Definition: SemanticPose.hh:54
Parameters related to the axis of rotation for rotational joints, and the axis of translation for pri...
Definition: JointAxis.hh:42
Similar to a ball joint, but constrains one degree of freedom.
namespace for Simulation Description Format parser
Definition: Actor.hh:33
JointType
The set of joint types.
Definition: Joint.hh:46