Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

orca4

> 编程语言
Open source

ROS2 AUV based on the BlueROV2, ArduSub and Navigation2

192 stars0 likes1 views
WebsiteGitHub

About

ROS2 AUV based on the BlueROV2, ArduSub and Navigation2

Orca4

Orca4 is a set of ROS2 packages that provide basic AUV (Autonomous Underwater Vehicle) functionality for the BlueRobotics BlueROV2.

Orca4 uses ArduSub as the flight controller and mavros as the GCS.

Update 14-Nov-2025: Orca5 demonstrates single-camera SLAM, and avoids the use of Nav2 and mavros.

Orca4 runs in Gazebo Harmonic using the standard buoyancy, hydrodynamics and thruster plugins. The connection between ArduSub and Gazebo is provided by ardupilot_gazebo.

Sensors

The BlueROV2 provides the following interesting sensors:

  • An external barometer provides depth
  • An IMU provides attitude

Orca4 adds a simulated down-facing stereo camera and ORB_SLAM2 to generate a 3D pose as long as the camera has a good view of the seafloor. The pose is sent to ArduSub and fused with the other sensor information.

If there is no view of the seafloor a synthetic pose is generated based on the last good pose and a simple motion model.

See orca_base for details.

Navigation

Orca4 uses the Navigation2 framework for mission planning and navigation. Several simple Nav2 plugins are provided to work in a 3D environment:

  • straight_line_planner_3d
  • pure_pursuit_3d
  • progress_checker_3d
  • goal_checker_3d

See orca_nav2 for details.

Installation

See the Dockerfile for installation details.

Install these packages:

  • ROS2 Humble
  • Gazebo Harmonic
  • ros_gz for Humble + Harmonic (ros-humble-gzharmonic)
  • ArduSub

Build ArduSub for SITL:

cd ~/ardupilot
./waf configure --board sitl
./waf sub

Populate the workspace:

bash
mkdir -p ~/colcon_ws/src
cd colcon_ws/src
git clone https://github.com/clydemcqueen/orca4
vcs import  RUN_NO_MAP
[base_controller-10] [INFO] [base_controller/UnderwaterMotion]: initialize odometry to {{-2.52304e-05, -3.28182e-05, -0.228547}, {0, 0, -5.00936e-05}}

Execute a mission in a second terminal:

source src/orca4/setup.bash
ros2 run orca_bringup mission_runner.py

The default mission will dive to -7m and move in a large rectangle. At -6m the cameras will pick up a view of the seafloor at and ORB_SLAM2 will start:

[orb_slam2_ros_stereo-13] New map created with 571 points
[base_controller-10] [INFO] [base_controller/change_state]: map created, state => RUN_LOCALIZED

You should notice a loop closure sometime during the 2nd run around the rectangle. The adjustment is very small.

[orb_slam2_ros_stereo-13] Loop detected!
[orb_slam2_ros_stereo-13] Local Mapping STOP
[orb_slam2_ros_stereo-13] Local Mapping RELEASE
[orb_slam2_ros_stereo-13] Starting Global Bundle Adjustment
[orb_slam2_ros_stereo-13] Global Bundle Adjustment finished
[orb_slam2_ros_stereo-13] Updating map ...
[orb_slam2_ros_stereo-13] Local Mapping STOP
[orb_slam2_ros_stereo-13] Local Mapping RELEASE
[orb_slam2_ros_stereo-13] Map updated!

Packages

  • orca_base Base controller, localization, frames
  • orca_bringup Launch files
  • orca_description SDF files
  • orca_msgs Custom messages
  • orca_nav2 Nav2 plugins
  • orca_shared Dynamics model, shared utilities

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言