Gazebo | Ignition | Community
Ask Your Question

Does Gazebo simulate air resistance?

asked 2019-08-19 09:18:24 -0600

kumpakri gravatar image

updated 2019-08-19 09:30:09 -0600

Does gazebo realistically simulate the air resistance? I see you can set an atmospheric pressure in the simulation but I don't know how to validate the correctness of the aerodynamics. I need the simulation to generate a realistic forces acting on the link given the geometry and velocity of the link. Does gazebo do that or do I need to make a plugin for this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-08-23 08:55:32 -0600

Duckfrost gravatar image

updated 2019-08-23 08:56:30 -0600


I created based on the hectorplugins a simple plugin that generated drag to a model, in whatever direction. It's a basic approach but at least it should get you going in the right direction.

image description

Here you have the whole code for the solution:

Video explaining the solution and demo

ROSJect Plug and play project with solution

Git with all the solution

I'll post here the file for the plugin creation: C:\fakepath\fluid_resitance.cpp

And a snippet on how to use it in a Model URDF:

<!-- Add plugin Air Resistance -->
    <plugin name="fluid_resitance_plugin" filename="">

Hope it helps ;).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-08-19 09:18:24 -0600

Seen: 781 times

Last updated: Aug 23 '19