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 void SetMaxForce(
unsigned int _index,
double _t);
80 public:
virtual double GetMaxForce(
unsigned int _index);
83 public:
virtual double GetParam(
unsigned int _parameter)
const;
86 public:
virtual void SetParam(
unsigned int _parameter,
double _value);
89 protected:
virtual void SetForceImpl(
unsigned int _index,
double _effort);
93 private:
void SetReferenceBody(
LinkPtr _body);
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:66
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:43
A double axis gearbox joint.
Definition: ODEGearboxJoint.hh:34
A double axis gearbox joint.
Definition: GearboxJoint.hh:37
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
An angle and related functions.
Definition: Angle.hh:52
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:90