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. 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 | a0 |
| Original zero angle of attack location. More... | |
| double | alphaStall |
| Stall angle. More... | |
| double | area |
| Airfoil area. More... | |
| double | cda |
| Drag coefficient without stall. More... | |
| double | cdaStall |
| Drag coefficient with stall. More... | |
| double | cla |
| Lift coefficient without stall. More... | |
| double | claStall |
| Lift coefficient with stall. More... | |
| double | fluidDensity |
| Fluid density. More... | |
Protected Attributes inherited from gazebo::LiftDrag | |
| double | prevTime |
| Time of last state update. More... | |
| double | state |
| Latest state. More... | |
Private Member Functions | |
| LiftDragTwoLines (double _area, double _fluidDensity, double _a0, double _alphaStall, double _cla, double _claStall, double _cda, double _cdaStall) | |
| Constructor. More... | |
| REGISTER_LIFTDRAG (LiftDragTwoLines) | |
| Register this model with the factory. More... | |
Static Private Attributes | |
| static const std::string | IDENTIFIER = "TwoLines" |
| 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... | |
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.
Definition at line 138 of file LiftDragModel.hh.
|
inlineprivate |
Constructor.
Definition at line 186 of file LiftDragModel.hh.
|
virtual |
Compute the lift and drag force.
Implements gazebo::LiftDrag.
Definition at line 197 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 298 of file LiftDragModel.cc.
|
virtual |
Return paramater in scalar form for the given tag.
Implements gazebo::LiftDrag.
Definition at line 270 of file LiftDragModel.cc.
|
inlinevirtual |
Return (derived) type of dynamic system.
Implements gazebo::LiftDrag.
Definition at line 144 of file LiftDragModel.hh.
|
private |
Register this model with the factory.
|
protected |
Original zero angle of attack location.
Definition at line 168 of file LiftDragModel.hh.
|
protected |
Stall angle.
Definition at line 171 of file LiftDragModel.hh.
|
protected |
Airfoil area.
Definition at line 162 of file LiftDragModel.hh.
|
protected |
Drag coefficient without stall.
Definition at line 180 of file LiftDragModel.hh.
|
protected |
Drag coefficient with stall.
Definition at line 183 of file LiftDragModel.hh.
|
protected |
Lift coefficient without stall.
Definition at line 174 of file LiftDragModel.hh.
|
protected |
Lift coefficient with stall.
Definition at line 177 of file LiftDragModel.hh.
|
protected |
Fluid density.
Definition at line 165 of file LiftDragModel.hh.
|
staticprivate |
Unique identifier for this dynamical model.
Definition at line 153 of file LiftDragModel.hh.