Skip to content


Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Robot Raconteur Core Library and Wrappers

CI Build Status license - apache 2.0 Python pypi C++ C# nuget Java View robotraconteur on File Exchange conda

Windows Ubuntu Debian Linux Android IOS Mac OS Raspberry Pi FreeBSD ROS Arduino

A communication framework for robotics, automation, and the Internet of Things

J. Wason, "Robot Raconteur® version 0.8: An Updated Communication System for Robotics, Automation, Building Control, and the Internet of Things", in Proc. IEEE Conference on Automation Science and Engineering, 2016, pp. 595-602.



See for documentation.

Getting Help

  1. I found a bug! Please leave an issue on the GitHub Issues page
  2. I have a specific question about how to use Robot Raconteur: Please leave a question on GitHub Discussions Q&A
  3. I have a general question or comment: Please leave a message on GitHub Discussions.

Quick Start

A simple service will initialize Robot Raconteur and register an object as a service. This example service creates a simple service that contains a single function to drive an iRobot Create through a serial port. This is a minimal subset of the full example in the documentation.

import RobotRaconteur as RR
import threading
import serial
import struct

service experimental.minimal_create

object create_obj
    function void Drive(int16 velocity, int16 radius)
end object

class create_impl(object):
    def __init__(self, port):
        dat=struct.pack(">4B",128,132,150, 0)

    def Drive(self, velocity, radius):
        with self._lock:

with RR.ServerNodeSetup("experimental.minimal_create", 52222):
    #Register the service type


    #Register the service

    #Wait for program exit to quit
    input("Press enter to quit")

This service can now be called by a connecting client. Because of the magic of Robot Raconteur, it is only necessary to connect to the service to utilize its members. In Python and MATLAB there is no boilerplate code, and in the other languages the boilerplate code is generated automatically.

from RobotRaconteur.Client import *
import time

#RRN is imported from RobotRaconteur.Client
#Connect to the service.

#The "Create" object reference is now available for use
#Drive for a bit

In MATLAB, this client is even simpler.



Getting Started

Robot Raconteur has a large ecosystem with a number of related projects. Start with the Robot Raconteur tutorial, and the Python examples:

The Python examples support using a Gazebo simulated iRobot Create robot. See the training simulator for installation instructions:

The training simulator also contains a simulation for two Universal Robots UR5e robots, with grippers and cameras. Example scripts to control the robots are included. See the training simulator readme for instructions.

Next, take a look out the examples for other languages:

Robot Raconteur provides a large number of standardized types to use with robots and other devices. See the standard robdef repository:

There are numerous other projects, drivers, and resources in the ecosystem. See the directory for a full list of available resources:

Also checkout the PyRI Open source teach pendant:


See docs/common/ for installation instructions.

The following platforms are supported:

  • Windows (x86, amd64, arm64): C++, Python, C#, Java, MATLAB, LabView
  • Linux (x86, x64, armhf, arm64): C++, Python, C#, Java, MATLAB, LabView
  • MacOS (x64, arm64): C++, Python, C#, Java, MATLAB
  • Android (x86, x64, armhf, arm64): C++, Java
  • iOS (arm-v7, arm64): C++
  • Browser (Chrome, Firefox, Edge, Safari): C++, Python, JavaScript
  • FreeBSD (x64)


See docs/common/ for build instructions.

ROS Support

Robot Raconteur is available in ROS Noetic and ROS Humble using the robotraconteur package. These packages are built using the ros-noetic and ros2-humble branches. The ros2-humble branch should work with other versions of ROS 2, but swig version 4.0.2 or greater must be installed first.

A Robot Raconteur to ROS 2 bridge is available, allowing access to ROS 2 topics and services from Robot Raconteur:

Standard Service Types

The Robot Raconteur project has defined a number of standard service definitions that contain numerous structure, pod, namedarray, and object types. These types cover a range of common data types, and provide standardized interfaces to devices. These types should be used whenever possible so that services will be interoperable. The standard service types are available in the GitHub repository.

Companion Libraries

The Robot Raconteur Companion libraries are provided to assist in using the standard service types, along with other generic utility functions. Currently, the companion libraries contain the standard service types, info file loaders, and general utility functions. The following libraries are available:

The Python companion library can also be installed using pip install RobotRaconteurCompanion

See for an example utilizing standard types and the companion library.

Robot Raconteur Directory

The Robot Raconteur project maintains a list of available drivers. The directory can be found here:


The Robot Raconteur core library is Apache 2.0 licensed.

"Robot Raconteur" and the Robot Raconteur logo are registered trademarks of Wason Technology, LLC. All rights reserved.

Robot Raconteur is covered United States Patent No. 10536560

Robot Raconteur is developed by John Wason, PhD, Wason Technology, LLC


This work was supported in part by Subaward No. ARM-TEC-18-01-F-19 and ARM-TEC-19-01-F-24 from the Advanced Robotics for Manufacturing ("ARM") Institute under Agreement Number W911NF-17-3-0004 sponsored by the Office of the Secretary of Defense. ARM Project Management was provided by Christopher Adams. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of either ARM or the Office of the Secretary of Defense of the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for Government purposes, notwithstanding any copyright notation herein.

This work was supported in part by the New York State Empire State Development Division of Science, Technology and Innovation (NYSTAR) under contract C160142.


A communication framework for robotics and the Internet of Things, developed by Wason Technology, LLC







No packages published