Example with an external axis? #82
-
Hello, was wondering if there is an examle that uses an external axis or positioner. I have not yet understood how the mechanical coupling works and would love to find out. I am trying to build my own positioner with a stepper Motor (or rather a closed-loop servo) controlled by an Arduino or something similar, but I want to understand the way this plugin handles external axes first. Additionally, Do you have any ideas on how to synchronise a Stepper motor and a robot, with the possibilites of your plugin? Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 3 replies
-
trackExample.zip It moves the robot to keep it aligned with the targets in the direction of the track. You usually would not want to do this as moving the whole robot on every target less desirable that getting close and then moving the rest of the joints to reach a target (since it uses more energy, slower speed/ramping, less precision). |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, will try it out. |
Beta Was this translation helpful? Give feedback.
-
The previous reply was written before you added the body of your comment. Regarding a positioner, you will use it in a similar way (the external input will be radians rather than millimeters). You can enable kinematic coupling using the 'create frame' component. The frame (and targets attached to it) will move/rotate together with the positioner. If you have a single robot with the positioner as the only external axis, both inputs G and M should be 0. |
Beta Was this translation helpful? Give feedback.
-
I understand you want to connect a motor as an external axis to the robot controller so that the controller's computer synchronizes it with the rest of the joints taking its dynamics into account and so on. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I am getting errors when trying to use your example: Line 44 in 0890ade |
Beta Was this translation helpful? Give feedback.
-
Ah, sorry, you have to also comment out or delete the positioner, which is the next mechanism after the track. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The whole robotcell should look like this:
|
Beta Was this translation helpful? Give feedback.
-
Now it works, thanks a lot. I will have to rethink my whole setup to figure out if an external axis is the right way to go or if I have to use other means to get the robot to move like I need it to. Thank you for your quick and helpful response. |
Beta Was this translation helpful? Give feedback.
-
Hi @visose, |
Beta Was this translation helpful? Give feedback.
The whole robotcell should look like this: