ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If your robot is running off a small microcontroller and you want to communicate over ROS2 via serial you can utilize micro-ROS as found here: https://micro.ros.org/

In ROS1 there is also the rosserial package, which encompasses the popular rosserial_arduino package that can also do the same. They have a tutorials page on the ROS1 wiki here

Again this would mainly apply if your robot is running off a microcontroller, which is the most common use case as to why you would run serial operations. If you are instead using a small computer (not q microcontroller) outfitted with Ethernet or Wi-Fi, this would be a more preferred way to communicate over ROS.