When dealing with rosserial on Arduino, you'll be able to publish and subscribe to ROS subjects, allowing sensor facts to movement in the Arduino in the ROS ecosystem and instructions from ROS to reach the actuators managed via the Arduino. The Elegoo Good Robot Car addresses the same content matters https://marioenvci.blogunteer.com/26206984/the-2-minute-rule-for-education-robot