Skip to content

Add support for ROS-O (ROS One) distribution#1008

Open
iory wants to merge 1 commit intoros-tooling:mainfrom
iory:ros-o-support
Open

Add support for ROS-O (ROS One) distribution#1008
iory wants to merge 1 commit intoros-tooling:mainfrom
iory:ros-o-support

Conversation

@iory
Copy link

@iory iory commented Oct 27, 2025

Summary

This PR adds support for ROS-O (ROS One), a community-supported ROS 1 distribution that works on Ubuntu 20.04 and newer versions.

Changes

  • Add 'one' to the list of valid ROS 1 distributions in validROS1Distros
  • Update Python version detection logic to recognize ROS-O as Python 3-based
  • ROS-O follows the same Python 3 convention as ROS 1 Noetic

Details

ROS-O is a modern ROS 1 distribution built for newer Ubuntu versions (20.04+). Like Noetic, it uses Python 3 instead of Python 2. This change allows action-ros-ci to:

  • Properly identify ROS-O workspaces
  • Select the correct Python version for building and testing
  • Handle ROS-O packages in CI workflows

Example usage

- uses: ros-tooling/action-ros-ci@main
  with:
    target-ros1-distro: one
    target-ros2-distro: humble

Related changes

This PR works in conjunction with the setup-ros PR that adds ROS-O repository support:

Testing

Tested with ROS-O workspaces on:

  • Ubuntu 22.04 with ROS-O + Humble
  • Ubuntu 24.04 with ROS-O + Jazzy

Breaking changes

None. This is a purely additive change that extends support to a new ROS 1 distribution.

ROS-O is a community-supported ROS 1 distribution that works on Ubuntu
20.04 and newer versions. This change adds ROS-O to the list of valid
ROS 1 distributions.

Changes:
- Add 'one' to validROS1Distros list in action-ros-ci.ts
- Update Python version detection to recognize ROS-O as Python 3-based
- ROS-O follows the same Python 3 convention as Noetic

This allows action-ros-ci to properly handle ROS-O workspaces and
build configurations.

Signed-off-by: Iori Yanokura <ab.ioryz@gmail.com>
Copy link
Member

@christophebedard christophebedard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was personally looking forward to completely removing support for ROS 1 🙈 but I'm 💯 on board with this if it is maintained by ROS-O users/maintainers.

@christophebedard
Copy link
Member

Just waiting for ros-tooling/setup-ros#854 before merging this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants