18 #ifndef _ODEGEARBOXJOINT_HH_ 19 #define _ODEGEARBOXJOINT_HH_ 48 public:
virtual void Load(sdf::ElementPtr _sdf);
51 public:
virtual void Init();
54 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
57 public:
virtual void SetAnchor(
unsigned int _index,
61 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
64 public:
virtual void SetAxis(
unsigned int _index,
68 public:
virtual void SetGearboxRatio(
double _gearRatio);
71 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
74 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
77 public:
virtual double GetVelocity(
unsigned int _index)
const;
80 public:
virtual double GetParam(
unsigned int _parameter)
const;
83 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
86 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
90 private:
void SetReferenceBody(
LinkPtr _body);
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:100
Forward declarations for the common classes.
Definition: Animation.hh:33
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
A double axis gearbox joint.
Definition: ODEGearboxJoint.hh:37
A double axis gearbox joint.
Definition: GearboxJoint.hh:44
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An angle and related functions.
Definition: Angle.hh:53
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:72