A double axis gearbox joint. More...
#include <physics/physics.hh>
Inherits T.
Public Member Functions | |
GearboxJoint (BasePtr _parent) | |
Constructor. More... | |
virtual | ~GearboxJoint () |
Destructor. More... | |
virtual void | FillMsg (msgs::Joint &_msg) |
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 |
|
inlinevirtual |
Get gearbox joint gear ratio.
|
inlineprotectedvirtual |
Initialize joint.
Reimplemented in ODEGearboxJoint.
|
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. |
Implemented in ODEGearboxJoint.
Referenced by GearboxJoint< ODEJoint >::GetGearboxRatio().
|
protected |
Gearbox gearRatio.
Referenced by GearboxJoint< ODEJoint >::FillMsg(), GearboxJoint< ODEJoint >::GetGearboxRatio(), and GearboxJoint< ODEJoint >::Load().
|
protected |
reference link/body for computing joint angles
Referenced by GearboxJoint< ODEJoint >::FillMsg(), and GearboxJoint< ODEJoint >::Load().