For a scientific project I had a request if it is possible to get the depth and heading data up to surface for logging on a separate computer (RS-232 / ASCII)
Does anybody know a way to get depth and heading out of the Pixhawk an transmit this over a twisted pair in the tether and then convert it to RS-232 for logging on PC?
Another option is to install a separate depth sensor and heading sensor with necessary interface cards for transmit through the tether…
They are trying to find a way of getting compass and depth data out on a serial port in realtime. The compass and depth data will be used together with USBL positioning and therefore required to be realtime. Preferably on a serial string but UDP is also an option.
The fastest way to get up and running with a program that has access to the telemetry stream is to use MAVProxy.
You will need your own program to pull the data out of MAVProxy, format it the way you want, and send it out on the desired channels. Python/MAVProxy make this straightforward.
Do you require a specific format? If so, what format do you need?
I have tried to look into this without much luck to pull the string out of MAVProxy… Is there anybody out there that could assist me to extract depth and heading from the MAVProxy to an COM port (prefferable) or to a UDP port ?.
It does not have to be only depth and heading, it can also include other motion data or similar.
Any help with a suitable script would be much appreciated
This one wont do the depth/heading output described here. Did you get it installed or not? My suspicion is that your trouble was that you did not have python itself installed.
I am sorry but I speak for all those other guys out there that have no clue about python etc.
From what I understand, python is a programming language right?
I don’t want to install a programming interface on my computer, I just want to run your fix. What do I need to install exactly? Would you mind giving me a link?