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;
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
namespace for Simulation Description Format parser
Definition: Actor.hh:32
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:95
Parameters related to the axis of rotation for rotational joints, and the axis of translation for pri...
Definition: JointAxis.hh:41