bluerobotics / ping-viewer

Ping Viewer is an open-source application to view and record data from the Blue Robotics Ping Echosounder and Ping360 Scanning Sonar.
https://docs.bluerobotics.com/ping-viewer/
GNU General Public License v3.0
42 stars 39 forks source link

Ability to record data from MAVLINK stream along with sonar data #1074

Open sp-ex opened 6 months ago

sp-ex commented 6 months ago

It would be very convenient to have an option to record selected data from the vehicle's MAVLINK UDP stream (e.g. from BlueBoat) like GPS position, GPS time, roll, pitch, heading etc. together with each sonar profile. This would help to analyze the profile data in relation to position, i.e making maps of bottom or sub-bottom features, correcting for angular deviation caused by waves or determining the sonar's boresight angles.

ES-Alexander commented 4 months ago

This is similar to #1009, which has some relevant discussion points.

I can see why recording GPS data would be useful, but that also seems somewhat out of scope for Ping Viewer unless/until it's capable of actually doing something with that data.

Our Ping Viewer development efforts are currently focused on rewriting it with a more modern technology stack, partially to allow it to more effectively integrate with BlueOS and Cockpit, and I expect one of the side-effects of that will likely be more straightforward alignment and replays of the different data streams :-)

In the meantime you might be interested in the pingSurvey BlueOS Extension, and you could consider creating a modified version that records the information you're interested in. Since that runs onboard the vehicle, it also doesn't require an active connection to Ping Viewer, which is likely useful for BlueBoat missions, especially if they're running autonomously.

ES-Alexander commented 1 week ago

I can see why recording GPS data would be useful, but that also seems somewhat out of scope for Ping Viewer unless/until it's capable of actually doing something with that data.

I think position-aligned data on maps for sidescan and bathymetry purposes and the like may be out of scope for Ping Viewer, but there are still some useful and relatively simple use-cases for GNSS data described in #1087, which would presumably be useful during replays as well.