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 |
Constructor.
| [in] | _parent | Parent link |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
|
inlinevirtual |
Get gearbox joint gear ratio.
|
inlineprotectedvirtual |
Initialize joint.
Reimplemented in gazebo::physics::ODEGearboxJoint.
|
inlinevirtual |
Load joint.
| [in] | _sdf | Pointer to SDF element |
Reimplemented in gazebo::physics::ODEGearboxJoint.
|
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. |
Implemented in gazebo::physics::ODEGearboxJoint.
|
protected |
Gearbox gearRatio.
|
protected |
reference link/body for computing joint angles