Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulated side scan sonar looks unexpected #21

Open
luxiya01 opened this issue May 7, 2021 · 5 comments
Open

Simulated side scan sonar looks unexpected #21

luxiya01 opened this issue May 7, 2021 · 5 comments

Comments

@luxiya01
Copy link

luxiya01 commented May 7, 2021

Describe the bug
When trying to simulate side scan sonar image using stonefish according to the documentation, the resulting simulated sensor output appears to be somewhat erroneous.

Specifically, it looks like that the port and starboard channels are exact complements of one another. The below SSS screenshot was taken when a simulated robot travels above a flat seafloor with constant velocity.

Screenshots

Screenshot from 2021-03-29 17-01-50

@patrykcieslak
Copy link
Owner

Hello! It indeed looks strange. I was not playing much with the sonars yet so I al happy to see someone is testing it. To me it looks like the vehicle was having some sudden roll change periodically. Is it moving in a stable way?

@luxiya01
Copy link
Author

Hi! Thanks for the reply :)
The vehicle was running a Neptus mission at constant velocity with waypoints on the same height, so I believe it was moving stably forward.

Here is another image when the vehicle is semi-stationary, i.e. it was slowly drifting with the current. When zoomed in to the details, the same pattern observed is visible: the port and starboard channels seem to complement one another, when one side indent, the other side extrude. It is almost as if one single camera image is split into two sections.
Screenshot from 2021-05-25 12-00-24

@patrykcieslak
Copy link
Owner

Please record the pose of the robot in time (position and orientation), because to me it still seems like the robot was just oscillating in roll. When we see the motion we will be sure it is not this issue.

@svbhat
Copy link

svbhat commented Mar 25, 2022

Thank you for the tip @patrykcieslak, it seems like there is a lot of oscialltion in roll.
To follow up on @luxiya01 's comment, here is a screenshot of the roll behavior of the robot (roll angle in radians vs time)

image

We found that since the SAM AUV is torpedo shaped and cylindrical, the surface waves make it roll around quite a bit, but the oscillations get partially damped if we go underwater and move forward.
We were trying to increase the damping of the robot model so that it doesn't oscillate so much, but we couldn't find where to do that. Could you please share some hints on how we could reduce this roll behavior?

@patrykcieslak
Copy link
Owner

Surface waves are not really doing anything if you don't set them up to be actual geometrical waves, which is an option but still considered WIP. What is happening in your case is something related to the model setup. First of all check where is your buoyancy center and where is the gravity center. You need to set up the model so that heavy parts are at the bottom and buoyancy at the top, like in the real vehicle. Even if your vehicle is a cylinder it has some parts inside and normally I just model these parts in a simplified way and give them masses so that the simulator can compute the actual gravity center itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants