Skip to content

ConversionFunctionLinearInterp

class gazebo::ConversionFunctionLinearInterp

class gazebo::ConversionFunctionLinearInterp
  : public gazebo::ConversionFunction

Conversion using linear interpolation between given data points.

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

Return (derived) type of conversion function.

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

Return paramater in scalar form for the given tag.

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

Return input and output vectors of the lookup table.

public virtual doubleconvert(double _cmd)

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