GPS streaming
-
I'd like to pull GPS positions off of my drone as it is flying. I am not sure the best way to approach this. I know GPS info is part of the MAVLink stream being sent to QGC. Is it possible to have voxl-mavlink-server stream a specific message to a different IP in parallel? Or, is it simple enough to pull the GPS data off of QGC in realtime? I tried consulting the docs for mavlink-server, but that entry is particularly sparse. TIA
-
@groupo You can modify voxl-mavlink-server to send to a parallel IP. Or you can write a separate application that listens to the mavlink pipe published by voxl-mavlink-server and have it forward GPS info to another IP. The voxl-vision-hub application reads mavlink messages this way and can be used as an example. Check the file: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-vision-hub/-/blob/master/src/mavlink_io.c?ref_type=heads#L120
-
@Eric-Katzfey by parallel IP do you mean changing secondary_static_gcs_ip to whichever IP I desire?
-
@groupo Oh, yeah, that should work. Did you try it?
-
@Eric-Katzfey not yet, had to shift gears but will be coming back to the drones soon though.
For clarity, you are saying that the Sentinel will stream to both primary and secondary GCS, both on port 14550, even if a GCS connection is established on the primary?
-
@groupo Yes, that's the intention.