Basic quadratic (Hugin) lift&drag model, page 18 from [1]. [1] Engelhardtsen, Øystein. "3D AUV Collision Avoidance." (2007). More...
#include <LiftDragModel.hh>
Public Member Functions | |
virtual ignition::math::Vector3d | compute (const ignition::math::Vector3d &velL) |
Compute the lift and drag force. More... | |
virtual std::map< std::string, double > | GetListParams () |
Return list of all parameters. 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 dynamic system. More... | |
Public Member Functions inherited from gazebo::LiftDrag | |
virtual | ~LiftDrag () |
Destructor. More... | |
Static Public Member Functions | |
static LiftDrag * | create (sdf::ElementPtr _sdf) |
Create thruster model of this type with parameter values from sdf. More... | |
Static Public Member Functions inherited from gazebo::LiftDrag | |
static bool | CheckForElement (sdf::ElementPtr _sdf, const std::string &element) |
Check for element. Complain and return 0 if it is missing. More... | |
Protected Attributes | |
double | dragConstant |
Drag constant. More... | |
double | liftConstant |
Lift constant. More... | |
Protected Attributes inherited from gazebo::LiftDrag | |
double | prevTime |
Time of last state update. More... | |
double | state |
Latest state. More... | |
Private Member Functions | |
LiftDragQuadratic (double _liftConstant, double _dragConstant) | |
Constructor. More... | |
REGISTER_LIFTDRAG (LiftDragQuadratic) | |
Register this model with the factory. More... | |
Static Private Attributes | |
static const std::string | IDENTIFIER = "Quadratic" |
Unique identifier for this dynamical model. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from gazebo::LiftDrag | |
LiftDrag () | |
Protected constructor: Use the factory for object creation. More... | |
Basic quadratic (Hugin) lift&drag model, page 18 from [1]. [1] Engelhardtsen, Øystein. "3D AUV Collision Avoidance." (2007).
Definition at line 100 of file LiftDragModel.hh.
|
inlineprivate |
Constructor.
Definition at line 130 of file LiftDragModel.hh.
|
virtual |
Compute the lift and drag force.
Implements gazebo::LiftDrag.
Definition at line 110 of file LiftDragModel.cc.
|
static |
Create thruster model of this type with parameter values from sdf.
|
virtual |
Return list of all parameters.
Implements gazebo::LiftDrag.
Definition at line 158 of file LiftDragModel.cc.
|
virtual |
Return paramater in scalar form for the given tag.
Implements gazebo::LiftDrag.
Definition at line 142 of file LiftDragModel.cc.
|
inlinevirtual |
Return (derived) type of dynamic system.
Implements gazebo::LiftDrag.
Definition at line 106 of file LiftDragModel.hh.
|
private |
Register this model with the factory.
|
protected |
Drag constant.
Definition at line 127 of file LiftDragModel.hh.
|
staticprivate |
Unique identifier for this dynamical model.
Definition at line 121 of file LiftDragModel.hh.
|
protected |
Lift constant.
Definition at line 124 of file LiftDragModel.hh.