Controlling 5 DOF Dynamixel arm: YARP vs. ROS #54
-
I will have a 5 or 6 DOF arm build with Dynamixel smart servos. I need to move the gripper along Cartesian trajectory, which I will calculate in my C++ application. I looked at ROS, but the learning curve is pretty steep and it looks like a major overkill for this use case. I know that YARP has a similar distributed system design foundations, but I'm not sure how it's learning curve compares to ROS. Can my arm be controlled with YARP? Will it be a simpler solution than using ROS? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
Hi again @pauljurczak, I don't know how steep you might find approaching YARP, and how it compares with ROS in this respect for a newcomer, but YARP allows you to deal with Jacobian math, trajectory control and hardware interface with increasing levels of complexity (yes, I've noticed your original post on You could think of tackling your "big" problem step by step. Inverse Kinematics & Trajectory GenerationTo address IK problems, we have provided some time ago the We have prepared some
Hardware Interface & Trajectory ControlYou could consider using YARP and iKin to solve inverse kinematics and generate joints references only and then relying on different tools to implement actual joints control, or you may want to employ YARP also for low-level control and hardware interface, which was actually one of the reason YARP was designed for. I can point you at proper YARP documentation for developing According to our practice, the device drivers needs to implement some basic functionalities that are exposed via motor interfaces. For example, to get joints limits we have the Cartesian InterfaceIf you will decide to implement YARP device drivers for your motors and expose them through a bunch of motor interfaces, then you will have - finally - the possibility to plug on top the I hope this gives you an helpful overview on a possible road map to yarpize your robot. |
Beta Was this translation helpful? Give feedback.
-
Hi Ugo, Thanks a lot for your detailed answer. I will certainly look at the references you provided. In the meantime, I have two related questions:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
According to robotology/yarp#480, the dynamixelAX12Ftdi plugin was broken... I just fixed the issue, but I suppose nobody has been using it for quite a long time. @pauljurczak Please let us know if it still works, or if you find issues! |
Beta Was this translation helpful? Give feedback.
-
By the way, this also means that in order to use it, you will have to build yarp from sources using the latest master. |
Beta Was this translation helpful? Give feedback.
-
@drdanz Thanks, I will let you know, but first I must find the time to learn YARP and buy the servos. It may be a while. |
Beta Was this translation helpful? Give feedback.
-
@pauljurczak Of course, we are always available to help. |
Beta Was this translation helpful? Give feedback.
-
From copyright disclaimer it's likely that @jizecn is the author of the driver. |
Beta Was this translation helpful? Give feedback.
-
I have not been actively developing this work for quite a while. |
Beta Was this translation helpful? Give feedback.
-
Thanks @jizecn for your possible availability, that's very much appreciated. For the meantime closing this issue. |
Beta Was this translation helpful? Give feedback.
Hi again @pauljurczak,
I don't know how steep you might find approaching YARP, and how it compares with ROS in this respect for a newcomer, but YARP allows you to deal with Jacobian math, trajectory control and hardware interface with increasing levels of complexity (yes, I've noticed your original post on
SE
😏).You could think of tackling your "big" problem step by step.
Here we go.
Inverse Kinematics & Trajectory Generation
To address IK problems, we have provided some time ago the
iKin
library, which is contained within theicub-main
repository. iKin enables to solve inverse kinematics of serial link chains with revolute joints by resorting toIpopt
, a nonlinear optimizer that is capa…