Research
Onboard Vision and MPC Navigation for Underwater Robots: An Open BlueROV2 Platform for Multi-Robot Experiments & Docking
Autonomous underwater vehicles are hard to operate in confined spaces because vehicle dynamics are strongly nonlinear, communication is limited, localization is uncertain, and underwater images…

- arXiv
- 2609.38511 · Preprint · not peer-reviewed
- Published
- 2026-09-29
- Authors
- Victor Nan Fernandez-Ayala, Wiktor Kowalczyk, Cezary Banaszek, Dimos V. Dimarogonas
In plain words
Autonomous underwater vehicles are hard to operate in confined spaces because vehicle dynamics are strongly nonlinear, communication is limited, localization is uncertain, and underwater images degrade through light attenuation, scattering and refraction.
AI summary
Overview
Research area: Field robotics and marine autonomy — specifically the perception, state estimation and model-based control stack for a low-cost, commercially available underwater vehicle.
Technical level: Advanced. The paper includes full six-degree-of-freedom (DoF) vehicle dynamics, a quaternion error-state EKF derivation and a nonlinear MPC formulation, though the experimental results are readable without following the mathematics.
Scope: The paper describes and experimentally validates an open-source BlueROV2 Heavy platform that runs stereo-vision relative localization, quaternion-based state estimation and nonlinear Model Predictive Control (NMPC) entirely onboard for navigation and autonomous docking, and releases the corresponding hardware, software, simulation environments and a low-cost docking station.
What This Paper Is About
Autonomous underwater vehicles are hard to operate in confined spaces because vehicle dynamics are strongly nonlinear, communication is limited, localization is uncertain, and underwater images degrade through light attenuation, scattering and refraction. Building a working system therefore requires embedded computing, perception, estimation, planning and control to all function together, and most low-cost open platforms supply only pieces of that chain rather than a complete autonomy stack.
This paper's goal is to close that gap: the authors extend a standard BlueROV2 Heavy with a modular pressure housing containing an NVIDIA Jetson Orin NX 8GB and an Intel RealSense D435i stereo camera, and run all perception, estimation, planning and control onboard. They demonstrate the resulting stack on navigation and docking tasks in the Marinarium underwater test facility, using underwater motion capture as ground truth, and release the hardware designs, ROS 2/PX4 software, Gazebo simulation environments, multi-robot simulation tools and a physical docking station.
Key Contributions
-
An onboard autonomy framework for the BlueROV2 that combines calibrated stereo-based relative localization of nearby vehicles, a quaternion error-state EKF, RRT*-based reference generation, and NMPC for both navigation and docking — with every computation performed on the vehicle itself.
-
An open-source hardware and software platform, including a modular autonomy tube that attaches to the standard BlueROV2 roof racks without modifying any existing vehicle components, plus a low-cost docking station built from aluminium profiles and 3D-printed PLA parts with no custom-machined components.
-
Reproducible simulation infrastructure: physics-based PX4 SITL and Gazebo environments that reproduce the modified vehicle's mass, buoyancy, inertia and hydrodynamic parameters, a simulated Marinarium tank, a simulated docking station matching the physical one, and a multi-vehicle launch file creating multiple independent PX4 instances each with its own system identifier, ROS 2 namespace and topics.
-
Experimental evaluation of underwater stereo ranging, object detection, onboard computational load, state estimation under motion-capture dropouts, NMPC trajectory tracking, and a complete autonomous docking run.
Main Findings
-
Stereo ranging accuracy: Evaluated over reference distances between 1.8 and 2.9 m with one BlueROV2 as target and another as observer, the selected operating profile achieves a depth RMSE of 0.26 m with a valid-depth proportion of 55.38% and a detector rate of 15 Hz.
-
Selected camera profile: The final operating profile uses color at 1280x720 and 15 Hz with depth at 848x480 and 30 Hz; YOLO input resolution is 1280x720 with a confidence threshold of 0.9.
-
Detection dataset: The detector is fine-tuned and evaluated on 1067 labeled underwater BlueROV2 images, with separate recorded sequences used for training, validation and testing. Precision, recall, mAP50 and mAP50:95 are plotted in Fig. 4(b); the numerical values are not stated in the text.
-
Onboard computation: Inference time and CPU, GPU and memory utilization on the Jetson Orin NX are reported in Fig. 4(c) for the selected profile. The text does not give these figures numerically, and aggregate onboard utilization is only described as being estimated from module-wise measurements, again without a stated value.
-
State estimation robustness: The motion-capture stream contained several tracking losses, with a maximum interruption of approximately 1.19 s. The EKF reduces body-velocity standard deviation by approximately 74% during the final hold interval, so the analysis emphasises filtering and robustness to dropouts rather than absolute localization accuracy.
-
NMPC configuration: The controller runs onboard with sampling time Ts = 0.04 s and horizon N = 25, giving a prediction interval of 1 s, with terminal weights set to twice the stage weights. Actuator limits are |f| ≤ [44, 44, 13.7] N and |m| ≤ [30, 16.5, 21] N·m.
-
Autonomous docking result: The vehicle followed the time-parametrized RRT* reference at 0.10 m/s, with the trajectory lasting 32.1 s, after which the NMPC held the final reference. Final position error was 0.067 m and final attitude error was 10.9 deg.
-
Buoyancy configuration: The modified vehicle with the autonomy tube has mass 15.6 kg and displaced volume 0.01565 m^3, yielding B − W = 0.491 N — near-neutral and slightly positively buoyant as intended.
Methodology in Plain English
Hardware. A sealed tube is bolted onto a standard BlueROV2 Heavy. Inside sit a Jetson Orin NX 8GB, a RealSense D435i stereo camera behind a transparent end cap, and a small gigabit Ethernet switch. The switch links the Jetson, the vehicle autopilot (running PX4) and an external connection used only for monitoring, recording and delivering motion-capture data. No external computer is needed to run the autonomy stack.
Perception. Because the camera looks through an acrylic window into water, the stereo parameters are recalibrated after installation rather than used out of the box. A lightweight YOLO detector, fine-tuned on BlueROV2 images, finds other vehicles in the color image. For each detection, the aligned depth values inside the detected region are filtered for invalid readings and outliers, then averaged to give a single range estimate. That range plus the pixel centre of the detection is back-projected through the calibrated camera intrinsics to obtain the other vehicle's position in the camera frame, which is then transformed into the body frame. This means relative position requires no communication and no global position fix. ArUco marker-based relative pose estimation is also supported for docking.
Estimation. The system fuses high-rate accelerometer and gyroscope readings with lower-rate global pose measurements from the motion-capture system. Because underwater mocap drops out and produces outliers from refraction and occluded markers, a quaternion error-state EKF propagates the state at IMU rate between updates, tracks accelerometer and gyroscope biases as random walks, and applies attitude corrections multiplicatively so the quaternion stays well behaved.
Planning and control. RRT* generates a geometric path from the current position to the goal, which is interpolated and time-parametrized at constant speed to produce a reference trajectory; for docking the goal is the predefined dock position and the attitude reference is interpolated toward the dock orientation. The NMPC then repeatedly solves, at each 0.04 s step, a 25-step optimal control problem over a nonlinear 6-DoF model discretized with a fourth-order Runge-Kutta method and re-normalized quaternion. The cost penalizes position, quaternion attitude error (with a sign correction to avoid quaternion unwinding), linear and angular velocity deviations, and control effort. The problem is built symbolically in CasADi and solved with acados using a Gauss-Newton Hessian, four-stage explicit Runge-Kutta integration, partially condensed HPIPM and an SQP real-time iteration scheme, warm-started from the previous solution. Only the first optimized wrench is sent to PX4, which allocates it across the eight thrusters.
Evaluation. Everything was run in the Marinarium, assuming negligible water current. Because mocap had dropouts, estimation was judged on filtering quality and dropout robustness rather than absolute accuracy.
Why This Matters
Impact on research. Autonomous underwater operation is normally demonstrated on bespoke, expensive vehicles, which makes results hard to reproduce and compare. This work shows that a commercially available ROV, extended with a modular tube that requires no modification to the original vehicle, can run a complete perception-to-control stack onboard. The released Gazebo environment reproduces the same PX4 and ROS 2 interfaces as the physical platform, so the same nodes run in simulation and in the tank — a meaningful reduction in the barrier to entry for experimental marine autonomy. Parts of the PX4 software developments and the Gazebo models have already been merged upstream into official PX4.
Real-world applications:
- Hull and infrastructure inspection in confined spaces such as harbours, tanks and ship structures, where GPS is unavailable and close-range relative navigation matters.
- Environmental monitoring and scientific exploration, where low-cost vehicles can be deployed in greater numbers and at lower risk.
- Underwater docking and recharging for persistent missions, where a vehicle must approach a fixed station precisely using onboard sensors only.
- Multi-robot operations, since the perception module explicitly measures the relative position of other BlueROV2 vehicles without communication or global localization, which is the prerequisite for formation and cooperative tasks.
Industry relevance. The platform is built from commodity parts and a widely used commercial ROV, which matters for cost-sensitive inspection and aquaculture operators. The docking station uses standard aluminium profiles and 3D-printed parts with no custom machining, lowering the fabrication barrier. Since the simulation environments and some PX4 components are upstream, the software stack is positioned for continued community and commercial maintenance rather than being a one-off lab artifact.
Future Directions
- Sampling-based control: The authors state that future work will investigate sampling-based methods such as Model Predictive Path Integral control, which could handle nonconvexity and uncertainty more gracefully than the current gradient-based NMPC.
- Safety-critical multi-robot coordination: The relative-localization module already measures neighbouring vehicles, so extending to coordinated multi-vehicle operation with safety guarantees is a natural next step; the multi-robot simulation launch file exists for exactly this.
- Diver-robot interaction: Operating safely alongside human divers is raised as an open problem, and would require perception of and interaction policies for people rather than just other vehicles.
- Localization and docking robustness: The authors explicitly note that motion-capture dropouts (up to approximately 1.19 s) prevented an assessment of absolute localization accuracy, and the docking evaluation used a single run; closing that gap — longer, repeated trials and evaluation without external mocap — remains open. The ArUco-based dock-pose estimation that is supported by the perception module is also not quantitatively evaluated in the reported experiments.
Target Audience
Researchers and engineers working on underwater robotics, marine autonomy and field-robotics systems integration will get the most from this paper, particularly those who want a working, reproducible baseline rather than a purely theoretical contribution. It is also valuable for roboticists interested in NMPC deployment on embedded hardware with realistic sensing constraints, for groups setting up tank-scale experimental facilities, and for practitioners in inspection, aquaculture or defence-adjacent marine operations evaluating whether a low-cost ROV can support autonomous docking and close-range navigation. Readers without a control or estimation background will find the experimental results accessible but the methodology sections demanding.
Authors’ abstract
Autonomous underwater robots require robust perception, estimation and control to operate in confined environments. This paper presents an open-source BlueROV2 platform combining onboard vision with nonlinear Model Predictive Control (NMPC) for autonomous navigation and docking. The platform integrates an NVIDIA Jetson Orin NX and an Intel RealSense D435i stereo camera in a modular pressure housing. Underwater-calibrated stereo depth and realtime object detection provide…
The full abstract on arXivRelated papers
- Demonstration of Space Robot Teleoperation over a Lossy and Delayed Network using ATMOS 2026-08-14 · cs.RO · Also by Dimos V. Dimarogonas
- CoRelNav: Collaborative Relational Navigation for Multi-Robot Spatially Constrained Semantic Navigation 2026-09-23 · cs.RO · Key terms of the title in common
- A Topological Representation with Object-Path Graphs for Open-Vocabulary Instance Navigation 2026-09-21 · cs.RO · Key terms of the title in common
- LiteNWM: Efficient Latent World Models for Onboard Visual Navigation in the Wild 2026-10-08 · cs.RO · Key terms of the title in common
- ATOM: Abstract Transition and Option Modeling - Experience-Informed Hierarchical Navigation 2026-10-13 · cs.RO · Key terms of the title in common