I have created a Docker image with MAVROS installed, and I am currently attempting to run this image on the BlueROV2 Heavy’s Raspberry Pi 4 (8GB RAM). The Raspberry Pi is running Raspberry Pi OS Lite (Bullseye) with BlueOS 1.1.0-beta.26
.
I am having some issues establishing a connection between MAVROS and ArduSub. Specifically, when launching MAVROS within the container, MAVROS indicates successful connections with the specified devices/endpoints; however, I do not receive any information on the MAVROS side. To confirm this, I echo the /mavros/state
topic, and have received the following result:
header:
stamp:
sec: 1691709106
nanosec: 196121083
frame_id: ''
connected: false
armed: false
guided: false
manual_input: false
mode: ''
system_status: 0
---
I have tried a number of MAVROS configurations without any success (receiving MAVLink message) including:
fcu_url: "udp://@localhost:5760 | gcs_url: "udp://@localhost:14550"
fcu_url: "udp://@localhost:14550 | gcs_url: "udp://@localhost:14550"
fcu_url: "udp://@0.0.0.0:14550 | gcs_url: "udp://@localhost:14550"
fcu_url: "tcp://localhost | gcs_url: "udp://@localhost:14550"
fcu_url: "udp://@localhost:14550"
The configuration that I have been able to use successfully in the past for simulation purposes is
fcu_url: "tcp://localhost | gcs_url: "udp://@localhost:14550"
I am running the container with host networking privileges, but have also tried setting the relevant devices and ports.
I was wondering if there are any folks that have been able to get this working in the past, or if there may be some configurations that I may have set incorrectly? I have also attached some of the relevant configuration files and logs.
EDIT: I forgot to mention, that I also attempted to create a new endpoint within BlueOS to connect MAVROS to; however, that attempt was unsuccessful.
mavros.log (11.2 KB)
mavros_config.txt (455 Bytes)
Cheers,
Evan