Hi,
My new robot design has lead me down the ROS path. I am trying to decide how to handle motor control between ROS(BeagleBone Black) and an Arduino Due.
For you guys who have more experience what would be the way to go?
1. ROS sends high level commands, like move forward 3 feet and such
2. ROS sends low level commands motor 1 forward at speed and so forth
3. Or I could do left and right side since I am using a tank like system with 4 motors? But if ROS can control each motor then stuff like slippage can be detected as well as tension on the track can be adjusted.
Or I am thinking too much into this.
The Arduino Due has plenty of CPU power and its dedicated to motor control and encoder input. Maybe a few sensors but nothing for avoidance, that would be directly connected to ROS on the BBB.
Right now I have ROS running on the BBB with ROSSerial receiving temp and humidity from the Arduino Due. So my base code is working.
Thanks,
--