#include <Joint.hh>
Public Member Functions | |
| Joint () | |
| Default constructor.  More... | |
| Joint (const Joint &_joint) | |
| Copy constructor.  More... | |
| Joint (Joint &&_joint) noexcept | |
| Move constructor.  More... | |
| ~Joint () | |
| Destructor.  More... | |
| const JointAxis * | Axis (const unsigned int _index=0) const | 
| Get a joint axis.  More... | |
| const std::string & | ChildLinkName () const | 
| Get the name of this joint's child link.  More... | |
| sdf::ElementPtr | Element () const | 
| Get a pointer to the SDF element that was used during load.  More... | |
| Errors | Load (ElementPtr _sdf) | 
| Load the joint based on a element pointer.  More... | |
| const std::string & | Name () const | 
| Get the name of the joint.  More... | |
| Joint & | operator= (const Joint &_joint) | 
| Copy assignment operator.  More... | |
| Joint & | operator= (Joint &&_joint) | 
| Move assignment operator.  More... | |
| const std::string & | ParentLinkName () const | 
| Get the name of this joint's parent link.  More... | |
| const ignition::math::Pose3d & | Pose () const SDF_DEPRECATED(9.0) | 
| Get the pose of the joint.  More... | |
| const std::string & | PoseFrame () const SDF_DEPRECATED(9.0) | 
| Get the name of the coordinate frame in which this joint's pose is expressed.  More... | |
| const std::string & | PoseRelativeTo () const | 
| Get the name of the coordinate frame relative to which this object's pose is expressed.  More... | |
| const ignition::math::Pose3d & | RawPose () const | 
| Get the pose of the joint.  More... | |
| sdf::SemanticPose | SemanticPose () const | 
| Get SemanticPose object of this object to aid in resolving poses.  More... | |
| const Sensor * | SensorByIndex (const uint64_t _index) const | 
| Get a sensor based on an index.  More... | |
| const Sensor * | SensorByName (const std::string &_name) const | 
| Get a sensor based on a name.  More... | |
| uint64_t | SensorCount () const | 
| Get the number of sensors.  More... | |
| bool | SensorNameExists (const std::string &_name) const | 
| Get whether a sensor name exists.  More... | |
| void | SetAxis (const unsigned int _index, const JointAxis &_axis) | 
| Set a joint axis.  More... | |
| void | SetChildLinkName (const std::string &_name) | 
| Set the name of the child link.  More... | |
| void | SetName (const std::string &_name) | 
| Set the name of the joint.  More... | |
| void | SetParentLinkName (const std::string &_name) | 
| Set the name of the parent link.  More... | |
| void | SetPose (const ignition::math::Pose3d &_pose) SDF_DEPRECATED(9.0) | 
| Set the pose of the joint.  More... | |
| void | SetPoseFrame (const std::string &_frame) SDF_DEPRECATED(9.0) | 
| Set the name of the coordinate frame in which this joint's pose is expressed.  More... | |
| void | SetPoseRelativeTo (const std::string &_frame) | 
| Set the name of the coordinate frame relative to which this object's pose is expressed.  More... | |
| void | SetRawPose (const ignition::math::Pose3d &_pose) | 
| Set the pose of the joint.  More... | |
| void | SetThreadPitch (double _threadPitch) | 
| Set the thread pitch (only valid for screw joints)  More... | |
| void | SetType (const JointType _jointType) | 
| Set the joint type.  More... | |
| double | ThreadPitch () const | 
| Get the thread pitch (only valid for screw joints)  More... | |
| JointType | Type () const | 
| Get the joint type.  More... | |
| sdf::v9::Joint::Joint | ( | ) | 
Default constructor.
      
  | 
  noexcept | 
Move constructor.
| [in] | _joint | Joint to move. | 
| sdf::v9::Joint::~Joint | ( | ) | 
Destructor.
| const JointAxis* sdf::v9::Joint::Axis | ( | const unsigned int | _index = 0 | ) | const | 
Get a joint axis.
| [in] | _index | This value specifies which axis to get. A value of zero corresponds to the first axis, which is the <axis> SDF element. Any other value will return the second axis, which is the <axis2> SDF element. | 
| const std::string& sdf::v9::Joint::ChildLinkName | ( | ) | const | 
Get the name of this joint's child link.
| sdf::ElementPtr sdf::v9::Joint::Element | ( | ) | const | 
| Errors sdf::v9::Joint::Load | ( | ElementPtr | _sdf | ) | 
| const std::string& sdf::v9::Joint::Name | ( | ) | const | 
Get the name of the joint.
The name of the joint must be unique within the scope of a Model.
| const std::string& sdf::v9::Joint::ParentLinkName | ( | ) | const | 
Get the name of this joint's parent link.
| const ignition::math::Pose3d& sdf::v9::Joint::Pose | ( | ) | const | 
Get the pose of the joint.
This is the pose of the joint as specified in SDF (<joint> <pose> ... </pose></joint>). Transformations have not been applied to the return value.
| const std::string& sdf::v9::Joint::PoseFrame | ( | ) | const | 
Get the name of the coordinate frame in which this joint's pose is expressed.
A empty value indicates that the frame is the child link frame.
| const std::string& sdf::v9::Joint::PoseRelativeTo | ( | ) | const | 
Get the name of the coordinate frame relative to which this object's pose is expressed.
An empty value indicates that the frame is relative to the child link frame.
| const ignition::math::Pose3d& sdf::v9::Joint::RawPose | ( | ) | const | 
| sdf::SemanticPose sdf::v9::Joint::SemanticPose | ( | ) | const | 
Get SemanticPose object of this object to aid in resolving poses.
| const Sensor* sdf::v9::Joint::SensorByIndex | ( | const uint64_t | _index | ) | const | 
Get a sensor based on an index.
| [in] | _index | Index of the sensor. The index should be in the range [0..SensorCount()). | 
| const Sensor* sdf::v9::Joint::SensorByName | ( | const std::string & | _name | ) | const | 
Get a sensor based on a name.
| [in] | _name | Name of the sensor. | 
| uint64_t sdf::v9::Joint::SensorCount | ( | ) | const | 
Get the number of sensors.
| bool sdf::v9::Joint::SensorNameExists | ( | const std::string & | _name | ) | const | 
Get whether a sensor name exists.
| [in] | _name | Name of the sensor to check. | 
| void sdf::v9::Joint::SetAxis | ( | const unsigned int | _index, | 
| const JointAxis & | _axis | ||
| ) | 
| void sdf::v9::Joint::SetChildLinkName | ( | const std::string & | _name | ) | 
Set the name of the child link.
| [in] | _name | Name of the child link. | 
| void sdf::v9::Joint::SetName | ( | const std::string & | _name | ) | 
Set the name of the joint.
The name of the joint must be unique within the scope of a Model.
| [in] | _name | Name of the joint. | 
| void sdf::v9::Joint::SetParentLinkName | ( | const std::string & | _name | ) | 
Set the name of the parent link.
| [in] | _name | Name of the parent link. | 
| void sdf::v9::Joint::SetPose | ( | const ignition::math::Pose3d & | _pose | ) | 
Set the pose of the joint.
| [in] | _pose | The pose of the joint. | 
| void sdf::v9::Joint::SetPoseFrame | ( | const std::string & | _frame | ) | 
Set the name of the coordinate frame in which this joint's pose is expressed.
A empty value indicates that the frame is the child link frame.
| [in] | _frame | The name of the pose frame. | 
| void sdf::v9::Joint::SetPoseRelativeTo | ( | const std::string & | _frame | ) | 
Set the name of the coordinate frame relative to which this object's pose is expressed.
An empty value indicates that the frame is relative to the child link frame.
| [in] | _frame | The name of the pose relative-to frame. | 
| void sdf::v9::Joint::SetRawPose | ( | const ignition::math::Pose3d & | _pose | ) | 
Set the pose of the joint.
| [in] | _pose | The pose of the joint. | 
| void sdf::v9::Joint::SetThreadPitch | ( | double | _threadPitch | ) | 
Set the thread pitch (only valid for screw joints)
| [in] | _threadPitch | The thread pitch of the joint | 
| void sdf::v9::Joint::SetType | ( | const JointType | _jointType | ) | 
Set the joint type.
| [in] | _jointType | The type of joint. | 
| double sdf::v9::Joint::ThreadPitch | ( | ) | const | 
Get the thread pitch (only valid for screw joints)
| JointType sdf::v9::Joint::Type | ( | ) | const | 
Get the joint type.