Hi I have an auv which has a rpi4b with blueos and a jetson with ros2 using mavros to send control signals. I am having some trouble connecting the jetson and the pi. They are currently connected via an ethernet cable and I can use pymavlink to control the auv via the jetson using this code:
# Connect to mavlink
self.master = mavutil.mavlink_connection('udpin:0.0.0.0:14770')
For this to work, I created a new endpoint in blueos:
I am now trying to connect mavros via the same jetson using this endpoint. My issue is I am stuck on what to put as the fcu_url and the gcs_url in the config file. I have experimented with a bunch of different variations, all giving me the same error:
[mavros_node-1] [INFO] [1740377262.236112864] [mavros]: MAVROS UAS via /uas1 started. MY ID 255.191, TARGET ID 1.1
[mavros_node-1] [INFO] [1740377263.208584137] [mavros_router]: link[1002] detected remote address 255.191
[mavros_node-1] [WARN] [1740377264.236142888] [mavros.sys]: VER: broadcast request timeout, retries left 4
[mavros_node-1] [WARN] [1740377265.236102585] [mavros.sys]: VER: broadcast request timeout, retries left 3
[mavros_node-1] [WARN] [1740377266.235038733] [mavros.sys]: VER: unicast request timeout, retries left 2
[mavros_node-1] [WARN] [1740377267.236294784] [mavros.sys]: VER: unicast request timeout, retries left 1
[mavros_node-1] [WARN] [1740377268.235920293] [mavros.sys]: VER: unicast request timeout, retries left 0
[mavros_node-1] [WARN] [1740377269.234302025] [mavros.sys]: VER: your FCU don't support AUTOPILOT_VERSION, switched to default capabilities
which I can’t quite wrap my head around. I can ping the pi from the jetson by running
ping 192.168.1.68
and vice versa by changing the 68 to 67. Is there anything else I need to set up for this to work? or am I just getting the fcu_url and gcs_url wrong?