Skip to content

Software

proto2ros

By RAI Open Source, United States (checked on github.com/rai-opensource (opens in a new tab)), from github.com/rai-opensource/proto2ros (opens in a new tab)

  • Middleware
  • Library
  • MIT

A toolkit that generates ROS 2 message definitions from Protobuf messages and provides C++ and Python conversion APIs between the two formats.

Facts

GitHub stars
89read on 28 Nov 2026
Last update
21 Jul 2026Newest commit on main
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Intermediate

Checked on GitHub on 28 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 919de0f (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Generates equivalent ROS 2 message definitions from source Protobuf message definitions.
  • Provides bi-directional conversion APIs between Protobuf and ROS 2 in C++ and Python.
  • Supports Protobuf syntax versions 2 and 3, with only version 3 extensively tested.
  • Ships a machinery package for message and conversion code generation, and a package of end-to-end tests.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 21 Jul 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 919de0f

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by RAI Open Source, at commit 919de0f, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Protobuf / ROS 2 interoperability

Overview

proto2ros helps maintain an interoperability layer between Protobuf dependent and ROS 2 aware code by generating equivalent ROS 2 message definitions given source Protobuf message definitions, as well bi-directional conversion APIs in relevant languages such as C++ and Python. To date, Protobuf syntax versions 2 and 3 are supported but only syntax version 3 has been extensively tested.

Packages

This repository contains the following packages:

PackageDescription
proto2ros (opens in a new tab)Machinery for ROS 2 equivalent message generation and conversion code generation.
proto2ros_tests (opens in a new tab)End-to-end tests for proto2ros generated messages and message conversion APIs.
Migration Notice

On April 28, 2026 this repository moved to the RAI-Opensource GitHub organization. If you are still pulling from the previous bdaiinstitute GitHub organization, please update your git remote:

git remote set-url origin https://github.com/RAI-Opensource/proto2ros

If you maintain downstream docs/scripts, update links from this repository to the new org.

Next steps

See contribution guidelines (opens in a new tab)!

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.