Home        Store        Docs        Blog

Ping echosounder reading on overlay software

(Steven LE BARS) #1


I wand to get the altitude reading from the ping echosounder on my overlay software (OV-REC from @etienne of Delta Rov). What is the easiest way to send this data to a UDP port from Ardusub or ping-viewer?

Thank you in advance


1 Like
(Etienne Demers) #2

We need @jwalser to amend his Depth output module to add the altitude reading using the ping python myPing.get_distance()

It’s a shame I am not python litterate, else I would do it.

(Steven LE BARS) #3

Ok we will try to do it then, should it work I will send it to you.

1 Like
(Jacob) #4

The altimeter data is not (at the moment) in the mavlink telemetry stream.

The python library is here: https://github.com/bluerobotics/ping-python

This program is used to send the data to pingviewer: https://github.com/bluerobotics/ping-python/blob/master/tools/pingproxy.py

To get the altimeter into the mavlink stream, you will have to write a program to send DISTANCE_SENSOR messages to the autopilot via mavproxy. This can be accomplished by commenting this line and rebooting the raspberry pi: https://github.com/bluerobotics/companion/blob/master/.companion.rc#L20

The line is currently commented because the ROV will attempt to use the rangefinder for altitude control, and that is not stable.

1 Like
(Steven LE BARS) #5

OK thank you, I might wait for the integration of the altimeter data into mavlink as there is no hurry for now.

As said by Etienne, for professionnal applications it would be great to have a simpler option than the python code to output any data from the ROV to a third party software as QGC does not allow overlay.

(Etienne Demers) #6

I’ll figure something out. I have a few ideas.

(Jacob) #7

fyi update current state of things: https://github.com/mavlink/qgroundcontrol/issues/7286

1 Like