Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Static Private Attributes | List of all members
gazebo::LiftDragQuadratic Class Reference

Basic quadratic (Hugin) lift&drag model, page 18 from [1]. [1] Engelhardtsen, Øystein. "3D AUV Collision Avoidance." (2007). More...

#include <LiftDragModel.hh>

Inheritance diagram for gazebo::LiftDragQuadratic:
Inheritance graph
[legend]

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 LiftDragcreate (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...
 

Detailed Description

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.

Constructor & Destructor Documentation

gazebo::LiftDragQuadratic::LiftDragQuadratic ( double  _liftConstant,
double  _dragConstant 
)
inlineprivate

Constructor.

Definition at line 130 of file LiftDragModel.hh.

Member Function Documentation

ignition::math::Vector3d gazebo::LiftDragQuadratic::compute ( const ignition::math::Vector3d &  velL)
virtual

Compute the lift and drag force.

Implements gazebo::LiftDrag.

Definition at line 110 of file LiftDragModel.cc.

static LiftDrag* gazebo::LiftDragQuadratic::create ( sdf::ElementPtr  _sdf)
static

Create thruster model of this type with parameter values from sdf.

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

Return list of all parameters.

Implements gazebo::LiftDrag.

Definition at line 158 of file LiftDragModel.cc.

bool gazebo::LiftDragQuadratic::GetParam ( std::string  _tag,
double &  _output 
)
virtual

Return paramater in scalar form for the given tag.

Implements gazebo::LiftDrag.

Definition at line 142 of file LiftDragModel.cc.

virtual std::string gazebo::LiftDragQuadratic::GetType ( )
inlinevirtual

Return (derived) type of dynamic system.

Implements gazebo::LiftDrag.

Definition at line 106 of file LiftDragModel.hh.

gazebo::LiftDragQuadratic::REGISTER_LIFTDRAG ( LiftDragQuadratic  )
private

Register this model with the factory.

Member Data Documentation

double gazebo::LiftDragQuadratic::dragConstant
protected

Drag constant.

Definition at line 127 of file LiftDragModel.hh.

const std::string gazebo::LiftDragQuadratic::IDENTIFIER = "Quadratic"
staticprivate

Unique identifier for this dynamical model.

Definition at line 121 of file LiftDragModel.hh.

double gazebo::LiftDragQuadratic::liftConstant
protected

Lift constant.

Definition at line 124 of file LiftDragModel.hh.


The documentation for this class was generated from the following files:


uuv_gazebo_plugins
Author(s): Musa Morena Marcusso Manhaes , Sebastian Scherer , Luiz Ricardo Douat
autogenerated on Mon Jul 1 2019 19:39:12