How can I control servo motor using ROS and python/c++?
Hello,
I am relatively new to ROS2 and I have basic knowledge of Python and C++. I want to make a robotic arm using ROS2, but I do not know much about the hardware and the integration between hardware and software. I have several confusions and questions that I wanted to get some help. Please bear with my questions may not make sense, as I don't know.
- Do I need an Arduino or Rasberry Pi to control the servo motor?
- If, yes, then I heard that Arduino and Rasberry Pi have their own language. How can I use Python or C++ to control the servo motor instead of the default language?
- In addition, if I can purely control the servo motor with just the Arduino or Rasberry Pi, how does the ROS2 come into play (if ROS2 was not needed to control the motor)?