Hello @sjpanwar,
To add more mavlink outputs:
- Connect companion with ssh (
ssh pi@192.168.2.2
), the password is companion. - Edit the mavproxy.param file, and modify the file to be something like this.
--master=/dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00,115200
--load-module='GPSInput,DepthOutput'
--source-system=200
--cmd="set heartbeat 0"
--out udpin:localhost:9000
--out udp:192.168.2.1:14550
--out udp:192.168.2.1:14777
Where 1477 is the second port.
- Restart companion.
In the client side, if you want to test the two connections, run mavproxy.py --master=udp:192.168.2.1:14550
and mavproxy.py --master=udp:192.168.2.1:14777
.