Based on granta-autonomy/DataStreamMavLinkUDP.
- Extended to support common mavlink message set (generator included).
- Selectable UDP Server and TCP Client mode.
- Emmits heartbeat message to keep connection alive with mavlink routers like mavp2p
- Start with build instructions below
- before building, run
python3 ./generator/gen_mavlink_plotjuggler.py ./generator/mavlink/message_definitions/v1.0/common.xml --out mavlink_streamer.cppwith whatever .xml message definition you need. this replacesmavlink_streamer.cppwith the newly generated one. - Build PlotJuggler including the Plugin like below.
- Checkout
https://github.com/facontidavide/PlotJugglerrepository first - Then, inside of
plotjuggler_pluginscheckouthttps://github.com/Neomium/DataStreamMavLink.git( --recursive ) - Add
add_subdirectory( DataStreamMavLink )toPlotJuggler/plotjuggler_plugins/CMakeLists.txtfile - Compile PlotJuggler
On Windows its easiest to compile and run with WSL. run with LIBGL_ALWAYS_SOFTWARE=1 ./plotjuggler if you get graphics error.