Skip to content

rclpy_message_converter

  • Software
  • Middleware
  • Library

A lightweight ROS package and Python library that converts between Python dictionaries or JSON and ROS messages, in both directions.

Made by DFKI Niedersachsen, Germany (checked on github.com/DFKI-NI (opens in a new tab)).

Source on GitHub: github.com/DFKI-NI/rospy_message_converter (opens in a new tab). Facts read at commit 6d907be (opens in a new tab).

Licenses

Code
BSD-3-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 6d907be (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • Converts a Python dictionary into a ROS message of a given type, such as std_msgs/String.
  • Converts a ROS message back into a Python dictionary.
  • Converts JSON strings to ROS messages and ROS messages to JSON.
  • The master branch targets ROS 1; ROS 2 users pick the branch matching their distro (foxy, galactic, humble, rolling, and others).
  • Includes a test suite run with catkin_make test and pre-commit formatting checks.

Written by Robotheca from the project's README (opens in a new tab) at commit 6d907be.

Getting started

Difficulty
Beginner

Maintenance

Status
Maintained: a commit in the last 12 months
Newest commit
27 Apr 2026 on master
Latest release
None published on GitHub

Checked on GitHub on 16 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

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