21 #ifndef _ASV_WAVE_SIM_GAZEBO_PLUGINS_WAVEFIELD_MODEL_PLUGIN_HH_ 22 #define _ASV_WAVE_SIM_GAZEBO_PLUGINS_WAVEFIELD_MODEL_PLUGIN_HH_ 27 #include <gazebo/gazebo.hh> 28 #include <gazebo/common/Plugin.hh> 29 #include <gazebo/physics/physics.hh> 37 class WavefieldModelPluginPrivate;
123 public:
void Load(gazebo::physics::ModelPtr _model, sdf::ElementPtr _sdf);
132 public:
void Reset();
141 public:
static std::shared_ptr<const WaveParameters> GetWaveParams(
142 gazebo::physics::WorldPtr _world,
143 const std::string& _waveModelName);
147 private:
void OnUpdate();
150 private: std::shared_ptr<WavefieldModelPluginPrivate>
data;
154 #endif // _ASV_WAVE_SIM_GAZEBO_PLUGINS_WAVEFIELD_MODEL_PLUGIN_HH_ std::shared_ptr< WavefieldModelPluginPrivate > data
A Gazebo model plugin to simulate water waves.