Ping360 mapping in ROS

Hi @LachSR, welcome to the forum! :slight_smile:

Blue Robotics don’t develop or maintain that ROS package, and I don’t believe any of us have experience with it, so the relevant support we can provide is predominantly conceptual. Other community members may have additional insights.

Have you tried using the Ping360 in its recommended form, via Ping Viewer? The interface there should show you the full sonar profiles, which will give you a sense of the scan clarity, which you can then optimise by changing the scan settings (and then copy them across to your ROS approach). At a minimum that should involve reducing the scanning distance to the maximum you want to reach in your tank, which Ping Viewer will then automatically use to adjust some of the other scanning parameters.

Given the angle you’re operating at, it may be best to keep the scanning sector in front of the sonar, to avoid scanning upwards towards the water surface. Alternatively if your water is flat enough you could just treat it as a mirror, and factor that in to where the returns are measured.

Water murkiness should typically not be a problem, unless it’s caused by large clumps of organic matter that contain substantial density changes from the surrounding water (in which case the transmitted pulses might suffer from extra backscatter and attenuation as they travel through the liquid).

It’s worth noting that compressing beam responses directly into a point cloud may not be very accurate, especially at longer distances (where the beam has had a chance to spread out a fair amount).[1] I understand point clouds can be convenient to work with, and require minimal processing to generate, but if you want some extra spatial resolution you might want to try considering each profile sample as multiple 3D gaussians (based on the orientation, beam size, sample duration, and return strength), then construct a surface estimation based on the density/correlation of their overlaps (and/or render them directly as gaussian splats, if you mostly care about the visuals).

I’m not aware of anyone having done that before, but it seems potentially well-suited to your application - especially given you have a fixed orientation and constrained mounting (so don’t need to account for rotations of a vehicle, which can be hard to measure accurately enough).


  1. I presume you’re doing this using distance estimates, from a peak finding and thresholding algorithm? ↩︎