Abstact base class for a thruster conversion function. More...
#include <ThrusterConversionFcn.hh>
Public Member Functions | |
virtual double | convert (double _cmd)=0 |
Convert thruster state (e.g. angular velocity) to thrust force. More... | |
virtual bool | GetParam (std::string _tag, double &_output)=0 |
Return paramater in vector form for the given tag. More... | |
virtual std::map< double, double > | GetTable () |
Return input and output vectors of the lookup table. More... | |
virtual std::string | GetType ()=0 |
Return (derived) type of conversion function. More... | |
virtual | ~ConversionFunction () |
Destructor. More... | |
Protected Member Functions | |
ConversionFunction () | |
Protected constructor: Use the factory instead. More... | |
Abstact base class for a thruster conversion function.
Definition at line 31 of file ThrusterConversionFcn.hh.
|
inlineprotected |
Protected constructor: Use the factory instead.
Definition at line 34 of file ThrusterConversionFcn.hh.
|
inlinevirtual |
Destructor.
Definition at line 37 of file ThrusterConversionFcn.hh.
|
pure virtual |
Convert thruster state (e.g. angular velocity) to thrust force.
Implemented in gazebo::ConversionFunctionLinearInterp, gazebo::ConversionFunctionBessa, and gazebo::ConversionFunctionBasic.
|
pure virtual |
Return paramater in vector form for the given tag.
Implemented in gazebo::ConversionFunctionLinearInterp, gazebo::ConversionFunctionBessa, and gazebo::ConversionFunctionBasic.
|
inlinevirtual |
Return input and output vectors of the lookup table.
Reimplemented in gazebo::ConversionFunctionLinearInterp.
Definition at line 47 of file ThrusterConversionFcn.hh.
|
pure virtual |
Return (derived) type of conversion function.
Implemented in gazebo::ConversionFunctionLinearInterp, gazebo::ConversionFunctionBessa, and gazebo::ConversionFunctionBasic.