Field-Robotics-Lab / nps_uw_multibeam_sonar

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

Diverse viewport/half-power vertical FOV #21

Closed woensug-choi closed 2 years ago

woensug-choi commented 3 years ago

This PR attempts to diverse the vertical FOV that of the viewport and the half-power beam pattern calculation.

Unlike the azimuthal angle direction beam pattern, in which each beam's half-power angle width is as small as 0.25 degrees for each beam, the elevation beam pattern is assumed to be equal to the vertical FOV of the spec sheet, i.e. 10~20 degrees. Therefore, the actual sonar experiment data is still showing objects that are out of spec sheet vertical FOV that is out of half-power beam pattern vertical angle. This modification adds another parameter verticalFOV that defines half-power beam pattern angle in a vertical angle different from the vertical viewport angle used in the depth camera. For azimuthal direction, it is neglected due to small beamwidth.