microRTPS/DDS agent protocol splitter. Allows to stream and parse MAVLink and RTPS packets in the same serial link.
cmake ..
make
To install system wise on an UNIX system (might require sudo
permissions):
make install
Make sure to have the UART link up and the cabling right (if using an TTL-USB adapter).
Run the splitter using:
$ protocol_splitter [options]
Options available:
-b <baudrate> UART device baudrate. Default 460800
-d <uart_device> UART device. Default /dev/ttyUSB0
-i <host_ip> Host IP for UDP. Default 127.0.0.1
-w <mavlink_udp_recv_port> UDP port for receiving. Default 5800
-x <mavlink_udp_send_port> UDP port for sending. Default 5801
-y <rtps_udp_recv_port> UDP port for receiving. Default 5900
-z <rtps_udp_send_port> UDP port for sending. Default 5901
-f Activates UART link SW flow control
-g Activates UART link HW flow control
-v Add more verbosity
At the same time, the protocol_splitter
should also be run in the client side, so the stream can be multiplexed bidirectionally.