ROS (Robot Operating System) provides libraries and tools to help software developers create robotics applications. It provides hardware abstraction, device drivers, libraries, visualizers, message-passing, package management, and more. If your question is rather about hardware than code, you may also want to consider asking your question on *robotics* stack exchange.