18 #ifndef _ODEGEARBOXJOINT_HH_
19 #define _ODEGEARBOXJOINT_HH_
45 public:
virtual void Load(sdf::ElementPtr _sdf);
48 public:
virtual void Init();
51 public:
virtual math::Vector3 GetAnchor(
unsigned int _index)
const;
54 public:
virtual void SetAnchor(
unsigned int _index,
58 public:
virtual math::Vector3 GetGlobalAxis(
unsigned int _index)
const;
61 public:
virtual void SetAxis(
unsigned int _index,
65 public:
virtual void SetGearboxRatio(
double _gearRatio);
68 public:
virtual math::Angle GetAngleImpl(
unsigned int _index)
const;
71 public:
virtual void SetVelocity(
unsigned int _index,
double _angle);
74 public:
virtual double GetVelocity(
unsigned int _index)
const;
77 public:
virtual double GetParam(
unsigned int _parameter)
const;
80 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
83 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
87 private:
void SetReferenceBody(
LinkPtr _body);
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:72
#define GZ_PHYSICS_VISIBLE
Definition: system.hh:259
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
A double axis gearbox joint.
Definition: ODEGearboxJoint.hh:34
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< Link > LinkPtr
Definition: PhysicsTypes.hh:100