Skip to content

LiftDragTwoLines

class gazebo::LiftDragTwoLines

class gazebo::LiftDragTwoLines
  : public gazebo::LiftDrag

Lift&drag model that models lift/drag coeffs using two lines. This is based on Gazebo's LiftDragPlugin but implemented as a derived LiftDrag model to allow using it in combination with the dynamics of a Fin.

Summary
Members Descriptions
public inline virtual std::stringGetType() Return (derived) type of dynamic system.
public virtual ignition::math::Vector3dcompute(const ignition::math::Vector3d & _velL) Compute the lift and drag force.
public virtual boolGetParam(std::string _tag,double & _output) Return paramater in scalar form for the given tag.
public virtual std::map< std::string, double >GetListParams() Return list of all parameters.
protected doublearea Airfoil area.
protected doublefluidDensity Fluid density.
protected doublea0 Original zero angle of attack location.
protected doublealphaStall Stall angle.
protected doublecla Lift coefficient without stall.
protected doubleclaStall Lift coefficient with stall.
protected doublecda Drag coefficient without stall.
protected doublecdaStall Drag coefficient with stall.
Members
public inline virtual std::stringGetType()

Return (derived) type of dynamic system.

public virtual ignition::math::Vector3dcompute(const ignition::math::Vector3d & _velL)

Compute the lift and drag force.

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

Return paramater in scalar form for the given tag.

public virtual std::map< std::string, double >GetListParams()

Return list of all parameters.

protected doublearea

Airfoil area.

protected doublefluidDensity

Fluid density.

protected doublea0

Original zero angle of attack location.

protected doublealphaStall

Stall angle.

protected doublecla

Lift coefficient without stall.

protected doubleclaStall

Lift coefficient with stall.

protected doublecda

Drag coefficient without stall.

protected doublecdaStall

Drag coefficient with stall.