When working with rosserial on Arduino, it is possible to publish and subscribe to ROS subject areas, allowing sensor information to stream from the Arduino to the ROS ecosystem and commands from ROS to reach the actuators controlled by the Arduino. The Arduino IDE gives pretty much limitless choices and https://robotarm05173.blogdeazar.com/26629302/an-unbiased-view-of-ros-compatible-robot