Go to the documentation of this file.
17 #ifndef GAZEBO_PLUGINS_WINDPLUGIN_HH_
18 #define GAZEBO_PLUGINS_WINDPLUGIN_HH_
22 #include <ignition/math/Vector3.hh>
25 #include "gazebo/physics/physics.hh"
30 class WindPluginPrivate;
61 public: ignition::math::Vector3d LinearVel(
66 private:
void OnUpdate();
70 private: std::unique_ptr<WindPluginPrivate> dataPtr;
ignition::math::Vector3d LinearVel(const physics::Wind *_wind, const physics::Entity *_entity)
Get the global wind velocity.
virtual void Load(physics::WorldPtr _world, sdf::ElementPtr _sdf)
Load function.
Forward declarations for the common classes.
Definition: Animation.hh:26
A plugin with access to physics::World. See reference.
Definition: Plugin.hh:278
A plugin that simulates a simple wind model.
Definition: WindPlugin.hh:48
Base class for wind.
Definition: Wind.hh:41
Base class for all physics objects in Gazebo.
Definition: Entity.hh:52
boost::shared_ptr< World > WorldPtr
Definition: PhysicsTypes.hh:90