Skip to content

ConversionFunction

class gazebo::ConversionFunction

Abstact base class for a thruster conversion function.

Summary
Members Descriptions
public inline virtual~ConversionFunction() Destructor.
public std::stringGetType() Return (derived) type of conversion function.
public boolGetParam(std::string _tag,double & _output) Return paramater in vector form for the given tag.
public inline virtual std::map< double, double >GetTable() Return input and output vectors of the lookup table.
public doubleconvert(double _cmd) Convert thruster state (e.g. angular velocity) to thrust force.
protected inlineConversionFunction() Protected constructor: Use the factory instead.
Members
public inline virtual~ConversionFunction()

Destructor.

public std::stringGetType()

Return (derived) type of conversion function.

public boolGetParam(std::string _tag,double & _output)

Return paramater in vector form for the given tag.

public inline virtual std::map< double, double >GetTable()

Return input and output vectors of the lookup table.

public doubleconvert(double _cmd)

Convert thruster state (e.g. angular velocity) to thrust force.

protected inlineConversionFunction()

Protected constructor: Use the factory instead.