Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

[Buoyancy Plugin] Possible bug

$
0
0
Hi everybody, I'm using Gazebo 6.6.0 with Ubuntu 14.04 and currently I'm experiencing strange behaviors with the buoyancy plugin shipped with this version. The following minimal working example shows two sphere, of mass 1 kg, and the usage of the buoyancy plugin where I force the volume of these two sphere to be equal to their mass. Having fluid density equal to 1 should result having the two objects floating in the air, because in this case force_of_gravity == force_of_buoyancy. Unfortunately only the first sphere, l1, floats whereas the second one falls down. 0 0 1 0 0 010.50.52 0 1 0 0 010.50.510 0 010 0 01 ![image description](/upfiles/14671332104072443.jpg) Based on my trials I believe that the problem is in this for statement [here](https://bitbucket.org/osrf/gazebo/src/206d5e2d67a1eba2a53875b86dfac205070bd2dc/plugins/BuoyancyPlugin.cc?at=default&fileviewer=file-view-default#BuoyancyPlugin.cc-56), which doesn't return the next link element within the plugin tag. Does anyone know how I can fix this bug and be able to use multiple "links" tags within this plugin? Thanks, Marco.

Viewing all articles
Browse latest Browse all 7017

Trending Articles