17 #ifndef SDF_JOINTAXIS_HH_
18 #define SDF_JOINTAXIS_HH_
22 #include <ignition/math/Vector3.hh>
26 #include "sdf/sdf_config.h"
32 inline namespace SDF_VERSION_NAMESPACE {
36 class JointAxisPrivate;
37 struct PoseRelativeToGraph;
79 public:
double InitialPosition()
const;
84 public:
void SetInitialPosition(
const double _pos);
94 public: ignition::math::Vector3d Xyz()
const;
101 const ignition::math::Vector3d &_xyz);
108 public:
double Damping()
const;
115 public:
void SetDamping(
const double _damping);
121 public:
double Friction()
const;
126 public:
void SetFriction(
const double _friction);
132 public:
double SpringReference()
const;
137 public:
void SetSpringReference(
const double _spring);
143 public:
double SpringStiffness()
const;
148 public:
void SetSpringStiffness(
const double _spring);
155 public:
double Lower()
const;
162 public:
void SetLower(
const double _lower);
169 public:
double Upper()
const;
176 public:
void SetUpper(
const double _upper)
const;
184 public:
double Effort()
const;
191 public:
void SetEffort(
double _effort);
197 public:
double MaxVelocity()
const;
203 public:
void SetMaxVelocity(
const double _velocity)
const;
208 public:
double Stiffness()
const;
214 public:
void SetStiffness(
const double _stiffness)
const;
219 public:
double Dissipation()
const;
224 public:
void SetDissipation(
const double _dissipation)
const;
230 public:
const std::string& XyzExpressedIn()
const;
236 public:
void SetXyzExpressedIn(
const std::string &_frame);
245 public:
Errors ResolveXyz(
246 ignition::math::Vector3d &_xyz,
247 const std::string &_resolveTo =
"")
const;
259 private:
void SetXmlParentName(
const std::string &_xmlParentName);
265 private:
void SetPoseRelativeToGraph(
266 std::weak_ptr<const PoseRelativeToGraph> _graph);
272 private: JointAxisPrivate *dataPtr;