When dealing with rosserial on Arduino, you'll be able to publish and subscribe to ROS subjects, letting sensor data to movement through the Arduino into your ROS ecosystem and instructions from ROS to get to the actuators managed by the Arduino. The EP Main supports the Scratch and Python programming https://spencerygmrv.ageeksblog.com/26141784/5-essential-elements-for-desktop-robot