@Eric-Katzfey Thanks for your help! I added the mavlink instance as you suggested and it works.
To recap for anyone with the same issue.
-
Add
mavlink start -x -o 14540 -u 14558 -n lo
in /etc/modalai/full-m0052.config after the linemavlink start -u 14556 -t 127.0.0.1 -n lo -m custom
-
Run MAVROS locally using the following (adapt tgt_system to your target system ID)
roslaunch mavros px4.launch fcu_url:=udp://127.0.0.1:14540@:14558 tgt_system:=1