Help with hydrodynamics plugin in gazebosim garden
I was working on a AUV simulation which worked quite well until I broke my ubuntu 20.04 environment.
After I reinstalled ubuntu 22.04, I also had to reinstall Gazebo Garden and I noticed that the binary installation command had changed from last time I had to use it.
After downloading all necessary packages for my project I tried to run it like I used to and now my submarine accelerates straight up until it reaches the air and makes the simulation crash.
The parameters of the Hydrodynamics plugin seem to work differently from before and even so I fiddled with the signs I can't quite find a configuration where my robot moves as before.
From what I have seen, if the 2nd order stability derivative along z axis has a negative sign, the robot accelerates vertically up instead of slowing down and conversely, if the sign is positive, the robot acceleration vertically down increases endlessly. Because of that I couldn't test much along x and y axis but I suspect it to be the same.
Another point would be that the graded_buoyancy example file behaves weirdly, with a bloc shooting straight into the sky and another spinning very fast above water.
Thank you, I look forward to any help.
There's a discussion in https://github.com/gazebosim/gz-sim/p... that might be helpful to you.