17 #ifndef GAZEBO_PLUGINS_LIFTDRAGPLUGIN_HH_ 18 #define GAZEBO_PLUGINS_LIFTDRAGPLUGIN_HH_ 23 #include <ignition/math/Vector3.hh> 26 #include "gazebo/physics/physics.hh" 44 protected:
virtual void OnUpdate();
61 protected:
double cla;
66 protected:
double cda;
71 protected:
double cma;
91 protected:
double rho;
112 protected: ignition::math::Vector3d
cp;
121 protected: ignition::math::Vector3d
upward;
138 protected: sdf::ElementPtr
sdf;
boost::shared_ptr< Link > LinkPtr
Definition: PhysicsTypes.hh:110
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:90
double cma
Coefficient of Moment / alpha slope.
Definition: LiftDragPlugin.hh:71
Forward declarations for the common classes.
Definition: Animation.hh:26
double claStall
Cl-alpha rate after stall.
Definition: LiftDragPlugin.hh:77
double cla
Coefficient of Lift / alpha slope.
Definition: LiftDragPlugin.hh:61
double sweep
angle of sweep
Definition: LiftDragPlugin.hh:103
sdf::ElementPtr sdf
SDF for this plugin;.
Definition: LiftDragPlugin.hh:138
Forward declarations for transport.
boost::shared_ptr< Joint > JointPtr
Definition: PhysicsTypes.hh:118
double cdaStall
Cd-alpha rate after stall.
Definition: LiftDragPlugin.hh:80
double velocityStall
: : make a stall velocity curve
Definition: LiftDragPlugin.hh:86
physics::ModelPtr model
Pointer to model containing plugin.
Definition: LiftDragPlugin.hh:56
boost::shared_ptr< PhysicsEngine > PhysicsEnginePtr
Definition: PhysicsTypes.hh:126
physics::LinkPtr link
Pointer to link currently targeted by mud joint.
Definition: LiftDragPlugin.hh:127
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:91
physics::PhysicsEnginePtr physics
Pointer to physics engine.
Definition: LiftDragPlugin.hh:53
double cda
Coefficient of Drag / alpha slope.
Definition: LiftDragPlugin.hh:66
ignition::math::Vector3d upward
A vector in the lift/drag plane, perpendicular to the forward vector.
Definition: LiftDragPlugin.hh:121
physics::WorldPtr world
Pointer to world.
Definition: LiftDragPlugin.hh:50
A plugin that simulates lift and drag.
Definition: LiftDragPlugin.hh:32
double controlJointRadToCL
how much to change CL per radian of control surface joint value.
Definition: LiftDragPlugin.hh:135
ignition::math::Vector3d forward
Normally, this is taken as a direction parallel to the chord of the airfoil in zero angle of attack f...
Definition: LiftDragPlugin.hh:116
ignition::math::Vector3d cp
center of pressure in link local coordinates
Definition: LiftDragPlugin.hh:112
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
double alpha
angle of attack
Definition: LiftDragPlugin.hh:109
double alphaStall
angle of attach when airfoil stalls
Definition: LiftDragPlugin.hh:74
double area
effective planeform surface area
Definition: LiftDragPlugin.hh:100
boost::shared_ptr< Model > ModelPtr
Definition: PhysicsTypes.hh:94
double alpha0
initial angle of attack
Definition: LiftDragPlugin.hh:106
bool radialSymmetry
if the shape is aerodynamically radially symmetric about the forward direction.
Definition: LiftDragPlugin.hh:97
event::ConnectionPtr updateConnection
Connection to World Update events.
Definition: LiftDragPlugin.hh:47
physics::JointPtr controlJoint
Pointer to a joint that actuates a control surface for this lifting body.
Definition: LiftDragPlugin.hh:131
A plugin with access to physics::Model.
Definition: Plugin.hh:303
double cmaStall
Cm-alpha rate after stall.
Definition: LiftDragPlugin.hh:83
ignition::math::Vector3d velSmooth
Smoothed velocity.
Definition: LiftDragPlugin.hh:124