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 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
91 private:
void SetReferenceBody(
LinkPtr _body);
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:109
A double axis gearbox joint.
Definition: ODEGearboxJoint.hh:36
A double axis gearbox joint.
Definition: GearboxJoint.hh:43
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77