Open ES-Alexander opened 3 years ago
This can be easily done using the transformation field and adding a new rotation: https://github.com/bluerobotics/ping-viewer/blob/master/qml/Ping360Visualizer.qml#L115
And adding roll and pitch integration here: https://github.com/bluerobotics/ping-viewer/blob/master/src/sensor/ping360.cpp#L661
Summary
Would be good to have a 'Perspective View' option to set the roll and pitch angle of a Ping360, and warp the plot display accordingly.
Additional information
@patrickelectric I'm not sure how difficult it would be to develop a feature like this. Presumably the black/white background to indicate down/up would be relatively easy, but not sure about the projective transform/directional shrinking of the polar plot (may not be too bad, depending on how the polar plot is implemented at the moment).