ArduPilot / apm_planner

APM Planner Ground Control Station (Qt)
https://ardupilot.org
Other
512 stars 465 forks source link

Forwarding MAVLink packets to other links #630

Open Jrojas2 opened 9 years ago

Jrojas2 commented 9 years ago

I am attempting to forward all MAVLink packages received via a serial port connection to a UDP connection established on the same ground control station computer. The idea is to have MATLAB listen on the UDP port connection and parse MAVLink packages as they are received. I don't happen to see the option to enable this functionality and I have already successfully achieved this using QGroundControl but would like to achieve it with APM Planner as well. Any assistance would be appreciated.

a7scenario commented 9 years ago

+1

billbonney commented 9 years ago

it's related to this code https://github.com/diydrones/apm_planner/blob/master/src/uas/UAS.cc#L1912

it probably needs some tidying up to make it work