-
I have a simple question that if i want to control the joint like joint 3(elbow) on both arms left_arm & right_arm, how can i call functions like setPositions && setControlModes, since these functions only differentiate joints but not distinguish left or right arm. I try to find some demo codes relate to this problem but failed, may i didnt find the right website. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @jimingda You ought to simply open 2 device drivers, one for the left and one for the right arm. Then, you'll have to duplicate the calls. For example, There are ways to open just one single device to control all the robot joints using ad-hoc remappers. However, this is more advanced and it is not available on all the robots. |
Beta Was this translation helpful? Give feedback.
Hi @jimingda
Find below a possible implementation.
I didn't compile it though so there might be errors.