Ask Your Question

Using ROS to control a DYI robotic arm

asked 2018-10-28 09:43:53 -0500

Elric gravatar image

I'm newbie in ROS, I've just started to learn it, and I wondering if I can use ROS to control a real robotic arm like this one: DIY Robot Arm Kit Educational Robotic Claw Set (at gearbest), or the Ebotics BXARM01 robotic arm.

Can I use ROS to control it?

Note: I don't know if control is right word here because I'm not sure what I'm doing when I create a node in ROS that reads from sensors and sends instructions to actuator.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-28 12:13:38 -0500

It is perfectly possible to control this arm with ROS, it won't be the most smooth or precise arm in the world but I'm guessing that's what you expected anyway!

In order for any robot arm to be controlled by ROS (MoveIt within ROS most likely) there needs to be a hardware interface that can tell ROS the positions of each of its joints and also control the position of the joints so they follow a given trajectory over time. The arm you linked to can do the second half of this if you were to modify the firmware so it was ROS compatible, however the servos it's using don't have any position feedback they're open loop. In this case you can assume that the arm is in the position the servos are being commanded to go to, this is an assumption but should be find for a toy robot like this.

If you're not familiar with MoveIt I recommend having a look at the documentation here and working through the first few tutorials. Once you're confident working with simulated robots, then you could start planning integrating this new hardware.

Hope this helps.

edit flag offensive delete link more


Hi, I guess there could be some example codes about robot arms, could you give me a simple one which is good for beginners?

peng cheng gravatar image peng cheng  ( 2021-07-13 17:02:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2018-10-28 09:43:53 -0500

Seen: 1,214 times

Last updated: Oct 28 '18