The most basic conversion function: Thrust = const.*w*abs(w) This corresponds to what is attrributed to Yoerger et al. and called Model 1 in Bessa et al.: Dynamic Positioning of Underwater Robotic Vehicles with Thruster Dynamics Compensation.
More...
#include <ThrusterConversionFcn.hh>
|
virtual double | convert (double _cmd) |
| Convert thruster state (e.g. angular velocity) to thrust force. More...
|
|
virtual bool | GetParam (std::string _tag, double &_output) |
| Return paramater in scalar form for the given tag. More...
|
|
virtual std::string | GetType () |
| Return (derived) type of conversion function. More...
|
|
virtual std::map< double, double > | GetTable () |
| Return input and output vectors of the lookup table. More...
|
|
virtual | ~ConversionFunction () |
| Destructor. More...
|
|
|
static const std::string | IDENTIFIER = "Basic" |
| The unique identifier of this conversion function. More...
|
|
The most basic conversion function: Thrust = const.*w*abs(w) This corresponds to what is attrributed to Yoerger et al. and called Model 1 in Bessa et al.: Dynamic Positioning of Underwater Robotic Vehicles with Thruster Dynamics Compensation.
Definition at line 92 of file ThrusterConversionFcn.hh.
gazebo::ConversionFunctionBasic::ConversionFunctionBasic |
( |
double |
_rotorConstant | ) |
|
|
private |
double gazebo::ConversionFunctionBasic::convert |
( |
double |
_cmd | ) |
|
|
virtual |
static ConversionFunction* gazebo::ConversionFunctionBasic::create |
( |
sdf::ElementPtr |
_sdf | ) |
|
|
static |
bool gazebo::ConversionFunctionBasic::GetParam |
( |
std::string |
_tag, |
|
|
double & |
_output |
|
) |
| |
|
virtual |
virtual std::string gazebo::ConversionFunctionBasic::GetType |
( |
| ) |
|
|
inlinevirtual |
Register this conversion function with the factory.
const std::string gazebo::ConversionFunctionBasic::IDENTIFIER = "Basic" |
|
staticprivate |
double gazebo::ConversionFunctionBasic::rotorConstant |
|
private |
The documentation for this class was generated from the following files: