Gazebo | Ignition | Community
Ask Your Question
0

Wind simulation in Gazebo

asked 2015-05-11 12:11:49 -0600

Antares gravatar image

updated 2015-05-23 14:03:38 -0600

Hi guys, for my ROS model simulation I need to write a plugin for the wind simulation. Now: I ve read this topic but all the suggested links are broken. I've read all the tutorial about writing a plugin for a specific model and for world's dynamic effects. The problem is: how should I create a model for simulating wind? I need some help to understand better how to implement it.

Let's say that my robot outputs its position information through a topic. I would create a plugin that puts a velocity vector in the world and acts on the same topic for the actual position. Does it make sense? Am I on the right way, or not?

Many thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-05-27 06:01:30 -0600

ffurrer gravatar image

updated 2015-05-27 06:02:10 -0600

We created a very basic wind_plugin which just applies a force to some body, you can take a look at https://github.com/ethz-asl/rotorssimulator/blob/master/rotorsgazeboplugins/src/gazebowind_plugin.cpp maybe this is sufficient for your application, otherwise you could modify this and make it a world plugin such that it acts on multiple bodies.

If this is not sufficient, you probably want to be a bit more specific, what kind of wind you want to simulate.

edit flag offensive delete link more

Comments

Hi ! Maybe you could help me with my wind simulation? Thanks in advance https://answers.gazebosim.org/questio...

Frodo gravatar imageFrodo ( 2021-05-29 04:02:21 -0600 )edit

Question Tools

Stats

Asked: 2015-05-11 12:11:49 -0600

Seen: 13,619 times

Last updated: May 27 '15