Quick summary: Espressif has published a first-party guide for adding micro-ROS to ESP-IDF projects, letting supported ESP devices appear as ROS 2 nodes through a micro-ROS Agent. The guide arrived on 23 November 2026 and covers a working Wi-Fi/UDP publish-and-subscribe example.

The underlying micro-ROS project and its ESP-IDF component are not new inventions. The fresh development is that Espressif now documents the integration itself and points developers to versioned releases in the ESP Component Registry. That gives ESP-IDF users a clearer, repeatable route than cloning an unpinned repository and working out the host-side setup alone.
What actually runs on the ESP device
| Layer | Where it runs | Job |
|---|---|---|
| ESP-IDF application with rcl/rclc | ESP microcontroller | Creates nodes, publishers, subscriptions, services and timers |
| Micro XRCE-DDS client | ESP microcontroller | Carries the constrained-device traffic |
| micro-ROS Agent | PC, SBC or server | Creates DDS entities and connects the device to the wider ROS 2 graph |
Espressif’s example uses the default eProsima Micro XRCE-DDS middleware over UDP and Wi-Fi. The Agent listens on port 8888, while the board publishes an integer counter and subscribes to another integer topic. Once the session is established, normal ROS 2 commands can list the node, inspect the topics and send data back to the board.
This is an important distinction: the ESP device is not running a full desktop ROS 2 installation. The lightweight client delegates discovery and DDS work to the Agent. A UART custom-transport example is also provided, but the experimental embeddedRTPS option intended for direct ROS 2 communication without an Agent is currently listed as non-functional.
Registry installation, with version discipline required
For ROS 2 Jazzy, Espressif’s example adds the component through the normal IDF Component Manager:
idf.py add-dependency "micro-ros/micro_ros_espidf_component^24"
The component’s major version follows the ROS 2 distribution year: 22 for Humble, 23 for Iron, 24 for Jazzy, 25 for Kilted and 26 for Lyrical. Rolling releases use dated pre-release versions. The ESP firmware component, host Agent and ROS 2 installation must use matching distributions, so “install the latest” is not a safe instruction here.
The first configuration is also heavier than a normal ESP-IDF component. It downloads upstream sources and builds the micro-ROS static library, and the ESP-IDF environment needs the Python packages used by colcon. Developers moving between framework generations should also read our ESP-IDF 6.0 migration overview rather than assuming an older project will rebuild unchanged.
Chip support is not the same as board support
The Registry page for the guide’s Jazzy 24.0.0 example says it has been tested with ESP-IDF 5.2 through 6.0 on ESP32, ESP32-S2PriceAliExpress price, ESP32-S3, ESP32-C3PriceAliExpress price, ESP32-C6 and ESP32-P4Price. Other release branches list different combinations, so support must be checked against the exact component version.
That list names ESP-IDF targets, not complete development-board features. Espressif’s Wi-Fi tutorial requires a Wi-Fi-capable board. ESP32-P4, for example, has no built-in wireless radio, even though the Jazzy component lists the P4 target; a P4 design needs a board-provided Ethernet path or a separate connectivity companion. Our ESP32 family guide explains the chip/module/board distinction, and the ESP32-P4 Function-EV-Board guide shows how board-level connectivity changes the practical setup.
Useful, but not production-ready by default
The default build reserves memory for one node, two publishers, two subscriptions, one service server and one service client. Those limits can be changed in an application-specific colcon.meta, followed by a clean micro-ROS rebuild. That makes resource use explicit, but it also means a larger robot node needs deliberate configuration rather than simply creating more entities at runtime.
The upstream project explicitly says the software is not ready for production use and has not been developed or tested for a particular use case. Espressif provides no latency, reliability or real-time performance figures in the announcement, and we have not benchmarked it. Safety-related motor control or autonomous systems therefore need their own timing, failure-recovery and network-loss testing.
For prototypes, education and lab robots, however, the value is clear. An ESP32-class controller can handle sensors, encoders or low-level actuators while publishing data into an existing ROS 2 system without adding Linux to the device itself. The Apache-2.0 component is free to use, and the new official guide removes a fair amount of integration guesswork.


