I was recently testing our vehicle in stonefish with this ros2 wrapper.
But I encounter a small issue with it.
Description:
I tried to create a cylinder with physics being "surface" and buoyant set to "true".
But seems like the buoyancy is not computed in this case.
The surface body(with buoyant set to true) was previously used to mimic buoyancy foams placed inside the AUV. So they only provide buoyancy instead of hydrodynamic forces.
Maybe, it is due to some recent updates in stonefish, such that the buoyancy is only computed for floating and submerged bodies?
To replicate this problem, you can add a dynamic body in the scenario file as follows.
Our density for the foam is 370kg/m^3.
When physics="surface", the cylinder will sink.
If phyiscs="submerged", the cylinder will float, however, hydrodynamic force will be included.
Hi Patryk
Thanks for creating a ROS2 wrapper for stonefish.
I was recently testing our vehicle in stonefish with this ros2 wrapper. But I encounter a small issue with it.
Description: I tried to create a cylinder with physics being "surface" and buoyant set to "true". But seems like the buoyancy is not computed in this case.
The surface body(with buoyant set to true) was previously used to mimic buoyancy foams placed inside the AUV. So they only provide buoyancy instead of hydrodynamic forces.
Maybe, it is due to some recent updates in stonefish, such that the buoyancy is only computed for floating and submerged bodies?
To replicate this problem, you can add a dynamic body in the scenario file as follows. Our density for the foam is 370kg/m^3. When
physics="surface"
, the cylinder will sink. Ifphyiscs="submerged"
, the cylinder will float, however, hydrodynamic force will be included.Thank you very much in advance.
MIngxi