ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

micro-ROS & FreeRTOS: making the most out of both

FreeRTOS is a market-leading and widely used Real Time Operating System (RTOS) for microcontrollers and embedded systems, built with an emphasis on reliability and ease of use. It has been one of the first RTOSes to be integrated into micro-ROS modular software stack through the micro-ROS build system, which enables reuse of virtually all the tools and features provided by the FreeRTOS community and partners. In a recent post published on the FreeRTOS blog, we offer a technical and detailed recount on why FreeRTOS makes a lightweight and ideal RTOS over which running micro-ROS.

Two successful cases of integration of FreeRTOS with hardware relevant for micro-ROS’ typical target applications are the Crazyflie 2.1 drone and the ESP32 MCU. The Crazyflie software makes profitable use of several FreeRTOS’ tools and functions, and a demo example of a micro-ROS application working with FreeRTOS on the Crazyflie can be found here. As for the second hardware, natively integrated with FreeRTOS and offering a ready-to-use Wi-Fi antenna and Bluetooth function, a very recent port of micro-ROS has been carried out and practical demos are in line.

Good news is that, as the users base of both micro-ROS and FreeRTOS is rapidly expanding and compelling use-cases pop up, further integration of micro-ROS with the libraries offered by FreeRTOS and FreeRTOS+ is foreseen in the very near future.

10 Likes