Why bring the bridges together?
Over the past year and a half, I’ve used or seen several tools that solved parts of this problem. The bridge I worked with on my fixed-wing project gave me a starting point for sending guidance and reading flight data. I saw similar needs while working on PEARL and in a separate bridge for BlueBoats. Each setup was useful for its vehicle. I wanted one place where someone bringing up the next boat or aircraft could find a tested starting point, and where improvements could make their way back to the MOOS-IvP community.
How the bridge works
MAVMOOS reads the IvP Helm’s usual outputs, such as desired heading and speed, and translates them into targets the autopilot understands over MAVLink, the protocol it uses to exchange commands and telemetry. Vehicle position and status come back into MOOS for the mission to use. I took a cue from MAVROS, which connects autopilots to the Robot Operating System (ROS): one app owns the connection, and plugins handle tasks like reading telemetry, transferring a mission, or guiding a particular vehicle.
The bridge also has to know when to stop sending guidance. When an operator switches from the helm to an autopilot mode, MAVMOOS stops sending helm targets and checks that the autopilot changed modes. If a pilot takes over, the operator has to give control back to the helm explicitly.
Getting feedback from the MOOS-IvP community
The need for a shared bridge has come up repeatedly in the MOOS-IvP community, and early feedback helped shape MAVMOOS. My next step is to share the first draft with people who work with ArduPilot or PX4, including those who’ve built bridges of their own. I want to hear where MAVMOOS fits into their missions, what they’d miss from their current setup, and what I should tackle next.