18 #ifndef _ODEGEARBOXJOINT_HH_ 19 #define _ODEGEARBOXJOINT_HH_ 47 public:
virtual void Load(sdf::ElementPtr _sdf);
50 public:
virtual void Init();
53 public:
virtual ignition::math::Vector3d Anchor(
54 const unsigned int _index)
const;
57 public:
virtual void SetAnchor(
const unsigned int _index,
58 const ignition::math::Vector3d &_anchor);
61 public:
virtual ignition::math::Vector3d GlobalAxis(
62 const unsigned int _index)
const;
65 public:
virtual void SetAxis(
const unsigned int _index,
66 const ignition::math::Vector3d &_axis);
69 public:
virtual void SetGearboxRatio(
double _gearRatio);
72 public:
virtual double PositionImpl(
const unsigned int _index)
const;
75 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
78 public:
virtual double GetVelocity(
unsigned int _index)
const;
81 public:
virtual double GetParam(
unsigned int _parameter)
const;
84 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
87 public:
virtual double GetParam(
const std::string &_key,
91 public:
virtual bool SetParam(
const std::string &_key,
93 const boost::any &_value);
96 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
100 private:
void SetReferenceBody(
LinkPtr _body);
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:110
Forward declarations for the common classes.
Definition: Animation.hh:26
A double axis gearbox joint.
Definition: ODEGearboxJoint.hh:36
A double axis gearbox joint.
Definition: GearboxJoint.hh:36
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:78