A double axis gearbox joint. More...
#include <physics/physics.hh>
Public Member Functions | |
GearboxJoint (BasePtr _parent) | |
Constructor. More... | |
virtual | ~GearboxJoint () |
Destructor. More... | |
virtual unsigned int | GetAngleCount () const |
virtual double | GetGearboxRatio () const |
Get gearbox joint gear ratio. More... | |
virtual void | Load (sdf::ElementPtr _sdf) |
Load joint. More... | |
virtual void | SetGearboxRatio (double _gearRatio)=0 |
Set gearbox joint gear ratio. More... | |
Protected Member Functions | |
virtual void | Init () |
Initialize joint. More... | |
Protected Attributes | |
double | gearRatio |
Gearbox gearRatio. More... | |
std::string | referenceBody |
reference link/body for computing joint angles More... | |
A double axis gearbox joint.
|
inline |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inlinevirtual |
Get gearbox joint gear ratio.
|
inlineprotectedvirtual |
Initialize joint.
References gazebo::msgs::Init().
|
inlinevirtual |
|
pure virtual |
Set gearbox joint gear ratio.
This must be implemented in a child class
[in] | _index | Index of the axis. |
[in] | _gearRatio | Gear ratio value. |
|
protected |
Gearbox gearRatio.
|
protected |
reference link/body for computing joint angles