In this tutorial, we’ll demonstrate how to set up a communication channel between a ROS 2 node running on a Raspberry Pi and an Arduino-compatible microcontroller to control a simple robot.
In this episode, we’ll go one step further by creating and using custom interfaces in both Python and C++. You’ll learn how to define your own message and service types and use them in publisher/subscriber and client/server architectures.