17 #ifndef SDF_JOINTAXIS_HH_ 18 #define SDF_JOINTAXIS_HH_ 22 #include <ignition/math/Vector3.hh> 23 #include <ignition/utils/ImplPtr.hh> 27 #include "sdf/sdf_config.h" 33 inline namespace SDF_VERSION_NAMESPACE {
37 struct PoseRelativeToGraph;
38 template <
typename T>
class ScopedGraph;
64 public:
void SetInitialPosition(
const double _pos)
SDF_DEPRECATED(10.0);
74 public: ignition::math::Vector3d Xyz()
const;
81 const ignition::math::Vector3d &_xyz);
88 public:
double Damping()
const;
95 public:
void SetDamping(
const double _damping);
101 public:
double Friction()
const;
106 public:
void SetFriction(
const double _friction);
112 public:
double SpringReference()
const;
117 public:
void SetSpringReference(
const double _spring);
123 public:
double SpringStiffness()
const;
128 public:
void SetSpringStiffness(
const double _spring);
135 public:
double Lower()
const;
142 public:
void SetLower(
const double _lower);
149 public:
double Upper()
const;
156 public:
void SetUpper(
const double _upper);
164 public:
double Effort()
const;
171 public:
void SetEffort(
double _effort);
177 public:
double MaxVelocity()
const;
183 public:
void SetMaxVelocity(
const double _velocity);
188 public:
double Stiffness()
const;
194 public:
void SetStiffness(
const double _stiffness);
199 public:
double Dissipation()
const;
204 public:
void SetDissipation(
const double _dissipation);
210 public:
const std::string& XyzExpressedIn()
const;
216 public:
void SetXyzExpressedIn(
const std::string &_frame);
225 public:
Errors ResolveXyz(
226 ignition::math::Vector3d &_xyz,
227 const std::string &_resolveTo =
"")
const;
239 private:
void SetXmlParentName(
const std::string &_xmlParentName);
245 private:
void SetPoseRelativeToGraph(
246 sdf::ScopedGraph<PoseRelativeToGraph> _graph);
252 IGN_UTILS_IMPL_PTR(dataPtr)
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:98
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:41
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:53
class SDFORMAT_VISIBLE Element
Definition: Element.hh:49
Parameters related to the axis of rotation for rotational joints, and the axis of translation for pri...
Definition: JointAxis.hh:42
namespace for Simulation Description Format parser
Definition: Actor.hh:33
#define SDF_DEPRECATED(version)
Definition: Types.hh:39