patrykcieslak / stonefish

Stonefish - an advanced C++ simulation library designed for (but not limited to) marine robotics.
https://stonefish.readthedocs.io/
GNU General Public License v3.0
121 stars 32 forks source link

Is it possible to use Stonefish for surface vehicles/boats? #32

Open therishidesai opened 1 year ago

therishidesai commented 1 year ago

I want to be able to use the stonefish simulator for boats and I was wondering if that has ever been tried.

silent-code commented 1 year ago

Yes, there is a minimal example in the tests folder: https://github.com/patrykcieslak/stonefish/blob/master/Tests/FloatingTest/FloatingTestManager.cpp

patrykcieslak commented 1 year ago

Yes it is possible, the buoyancy is working realistically, so if you build a boat it will not sink. However, I have not worked on surface vehicles yet but I know there is one strange behavior that makes all things that are on the surface rotate slowly. I will try to fix it as I am implementing some stuff now.