Abstract base class for Lift&Drag models. More...
#include <LiftDragModel.hh>
Public Member Functions | |
virtual ignition::math::Vector3d | compute (const ignition::math::Vector3d &_velL)=0 |
Compute the lift and drag force. More... | |
virtual std::map< std::string, double > | GetListParams ()=0 |
Return list of all parameters. More... | |
virtual bool | GetParam (std::string _tag, double &_output)=0 |
Return paramater in vector form for the given tag. More... | |
virtual std::string | GetType ()=0 |
Return (derived) type of lift&drag model. More... | |
virtual | ~LiftDrag () |
Destructor. More... | |
Static Public Member Functions | |
static bool | CheckForElement (sdf::ElementPtr _sdf, const std::string &element) |
Check for element. Complain and return 0 if it is missing. More... | |
Protected Member Functions | |
LiftDrag () | |
Protected constructor: Use the factory for object creation. More... | |
Protected Attributes | |
double | prevTime |
Time of last state update. More... | |
double | state |
Latest state. More... | |
Abstract base class for Lift&Drag models.
Definition at line 32 of file LiftDragModel.hh.
|
inlineprotected |
Protected constructor: Use the factory for object creation.
Definition at line 35 of file LiftDragModel.hh.
|
inlinevirtual |
Destructor.
Definition at line 42 of file LiftDragModel.hh.
|
static |
Check for element. Complain and return 0 if it is missing.
Definition at line 23 of file LiftDragModel.cc.
|
pure virtual |
Compute the lift and drag force.
Implemented in gazebo::LiftDragTwoLines, and gazebo::LiftDragQuadratic.
|
pure virtual |
Return list of all parameters.
Implemented in gazebo::LiftDragTwoLines, and gazebo::LiftDragQuadratic.
|
pure virtual |
Return paramater in vector form for the given tag.
Implemented in gazebo::LiftDragTwoLines, and gazebo::LiftDragQuadratic.
|
pure virtual |
Return (derived) type of lift&drag model.
Implemented in gazebo::LiftDragTwoLines, and gazebo::LiftDragQuadratic.
|
protected |
Time of last state update.
Definition at line 59 of file LiftDragModel.hh.
|
protected |
Latest state.
Definition at line 62 of file LiftDragModel.hh.