Robotics, Robot Operating System, Raspberry Pico.
The choice for connecting ROS/ROS2 to your microcontroller code are plenty. However, we can distil them into three categories: Embedded ROS: This category means to run ROS and the code to control sensor and actuator on the same device. In ROS1, you can use rosserial to obtain ROS message interfaces