no_std ROS 2 client for microcontrollers and RTOS (Zephyr, FreeRTOS, NuttX, ThreadX) and Linux. Rust-first with C/C++ APIs; pluggable Zenoh / XRCE-DDS / Cyclone DDS backends; interoperates with standard ROS 2.
https://newslabntu.github.io/nano-ros-book/ โ// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- 10 releases in the last 90 days
// how to help
// readme
nano-ros
ROS 2 nodes on microcontrollers and real-time operating systems. You write
a node in Rust, C or C++, nano-ros builds it into firmware for your board, and
it joins your ROS 2 graph like any other node: ros2 topic echo on your
computer sees what the board publishes.
It runs with no operating system or on Zephyr, FreeRTOS, NuttX and ThreadX, talks over Zenoh, Cyclone DDS or XRCE-DDS, and sizes its node, topic and message pools when you build. Whether an image needs a heap depends on the middleware you pick.
Who it is for
- Teaching: robotics and embedded courses that need the same result on every seat, with no hardware.
- Field work: engineers who get a board and need its data in ROS 2 the same day.
- Products: teams who need reproducible images, offline builds and every board fact on a page.
Choose your path gives each a route through the book.
Try it on your machine
On Ubuntu 22.04 with ROS 2 Humble installed, a C++ talker runs as a program on your machine, no board or emulator needed: