Field-Robotics-Lab / nps_uw_multibeam_sonar

Multibeam sonar plugin with NVIDIA Cuda library
Apache License 2.0
35 stars 20 forks source link

Migration to Ray sensor #18

Closed woensug-choi closed 2 years ago

woensug-choi commented 3 years ago

Background

The multibeam sonar plugin is currently based on the Gazebo's generic depth camera sensor. Considering issues brought up by our users who have been trying the plugin, I am convinced that migrating to the Ray sensor could resolve the issues. Otherwise, interpolations should be introduced to the plugin, which is not physical.

Related Issues

image image

woensug-choi commented 3 years ago

@mabelzhang Long story short, I need to be able to define the number of vertical data to pipe into the sonar calculations.

It is confusing that which headers and source codes I have to copy and edit to make the modifications I need.

woensug-choi commented 3 years ago

Elevation stripe is visible due to fixed ray-wise input data from the camera sensor (discretizes the rendering scene with pixels). As the source of the sonar signal is a point. The range resolution (the gap between elevation stripes) is dependent on the relative orientation of the sonar and objects in the scene. For seabed looking cases, if the sonar is near the seabed with a view field grazing the bottom, the gaps become visible. If the sonar is away from the bottom looking down, the gaps are neglectable. image image