17 #ifndef _GAZEBO_LIFT_DRAG_PLUGIN_HH_
18 #define _GAZEBO_LIFT_DRAG_PLUGIN_HH_
24 #include "gazebo/physics/physics.hh"
42 protected:
virtual void OnUpdate();
59 protected:
double cla;
64 protected:
double cda;
69 protected:
double cma;
89 protected:
double rho;
136 protected: sdf::ElementPtr
sdf;
physics::LinkPtr link
Pointer to link currently targeted by mud joint.
Definition: LiftDragPlugin.hh:125
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
double area
effective planeform surface area
Definition: LiftDragPlugin.hh:98
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:88
math::Vector3 velSmooth
Smoothed velocity.
Definition: LiftDragPlugin.hh:122
double alpha
angle of attack
Definition: LiftDragPlugin.hh:107
double sweep
angle of sweep
Definition: LiftDragPlugin.hh:101
physics::ModelPtr model
Pointer to model containing plugin.
Definition: LiftDragPlugin.hh:54
double cla
Coefficient of Lift / alpha slope.
Definition: LiftDragPlugin.hh:59
The Vector3 class represents the generic vector containing 3 elements.
Definition: Vector3.hh:39
sdf::ElementPtr sdf
SDF for this plugin;.
Definition: LiftDragPlugin.hh:136
double alphaStall
angle of attach when airfoil stalls
Definition: LiftDragPlugin.hh:72
Forward declarations for transport.
double controlJointRadToCL
how much to change CL per radian of control surface joint value.
Definition: LiftDragPlugin.hh:133
math::Vector3 forward
Normally, this is taken as a direction parallel to the chord of the airfoil in zero angle of attack f...
Definition: LiftDragPlugin.hh:114
double rho
air density at 25 deg C it's about 1.1839 kg/m^3 At 20 °C and 101.325 kPa, dry air has a density of 1...
Definition: LiftDragPlugin.hh:89
double cdaStall
Cd-alpha rate after stall.
Definition: LiftDragPlugin.hh:78
physics::WorldPtr world
Pointer to world.
Definition: LiftDragPlugin.hh:48
event::ConnectionPtr updateConnection
Connection to World Update events.
Definition: LiftDragPlugin.hh:45
physics::JointPtr controlJoint
Pointer to a joint that actuates a control surface for this lifting body.
Definition: LiftDragPlugin.hh:129
double cma
Coefficient of Moment / alpha slope.
Definition: LiftDragPlugin.hh:69
math::Vector3 cp
center of pressure in link local coordinates
Definition: LiftDragPlugin.hh:110
double cmaStall
Cm-alpha rate after stall.
Definition: LiftDragPlugin.hh:81
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:116
math::Vector3 upward
A vector in the lift/drag plane, perpendicular to the forward vector.
Definition: LiftDragPlugin.hh:119
A plugin that simulates lift and drag.
Definition: LiftDragPlugin.hh:30
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:84
boost::shared_ptr< Joint > JointPtr
Definition: PhysicsTypes.hh:108
bool radialSymmetry
if the shape is aerodynamically radially symmetric about the forward direction.
Definition: LiftDragPlugin.hh:95
double cda
Coefficient of Drag / alpha slope.
Definition: LiftDragPlugin.hh:64
double claStall
Cl-alpha rate after stall.
Definition: LiftDragPlugin.hh:75
A plugin with access to physics::Model.
Definition: Plugin.hh:245
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59
physics::PhysicsEnginePtr physics
Pointer to physics engine.
Definition: LiftDragPlugin.hh:51
double alpha0
initial angle of attack
Definition: LiftDragPlugin.hh:104
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:100
double velocityStall
: : make a stall velocity curve
Definition: LiftDragPlugin.hh:84