17 #ifndef SDF_JOINTAXIS_HH_
18 #define SDF_JOINTAXIS_HH_
22 #include <gz/math/Vector3.hh>
23 #include <gz/utils/ImplPtr.hh>
33 inline namespace SDF_VERSION_NAMESPACE {
37 struct PoseRelativeToGraph;
38 template <
typename T>
class ScopedGraph;
63 public: gz::math::Vector3d Xyz()
const;
70 const gz::math::Vector3d &_xyz);
77 public:
double Damping()
const;
84 public:
void SetDamping(
const double _damping);
95 public:
void SetFriction(
const double _friction);
101 public:
double SpringReference()
const;
106 public:
void SetSpringReference(
const double _spring);
112 public:
double SpringStiffness()
const;
117 public:
void SetSpringStiffness(
const double _spring);
124 public:
double Lower()
const;
131 public:
void SetLower(
const double _lower);
138 public:
double Upper()
const;
145 public:
void SetUpper(
const double _upper);
153 public:
double Effort()
const;
160 public:
void SetEffort(
double _effort);
166 public:
double MaxVelocity()
const;
172 public:
void SetMaxVelocity(
const double _velocity);
177 public:
double Stiffness()
const;
183 public:
void SetStiffness(
const double _stiffness);
188 public:
double Dissipation()
const;
193 public:
void SetDissipation(
const double _dissipation);
199 public:
const std::string& XyzExpressedIn()
const;
205 public:
void SetXyzExpressedIn(
const std::string &_frame);
214 public:
Errors ResolveXyz(
215 gz::math::Vector3d &_xyz,
216 const std::string &_resolveTo =
"")
const;
240 unsigned int _index = 0u)
const;
246 private:
void SetXmlParentName(
const std::string &_xmlParentName);
252 private:
void SetPoseRelativeToGraph(
259 GZ_UTILS_IMPL_PTR(dataPtr)