ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
No; ROS is not necessary if you just want to write code to communicate with a microcontroller or motor controller.
I don't know if every robot comes with code or not. You should check the manufacturer's description and the documentation for any hardware you're considering to see if it comes with code or not.