So I want to generate difference color cubes on a conveyor so my robot arm can pick it up and put it on matching colors table, is there any examples for generate a loop that has a random generation? Also any examples for large calculation? I mean I want to run up to 30+ cubes and creating more than 30+ specific paths isn't a good solution
Much appreciate!
Looking for example of random pick and place
Re: Looking for example of random pick and place
Hi,
demo scene scenes/pickAndPlaceDemo.ttt does that.
demo scene scenes/pickAndPlaceDemo.ttt does that.
-
- Posts: 7
- Joined: 09 Apr 2024, 09:06
Re: Looking for example of random pick and place
Thank you for the information!
I checked the demo and there are only customization for heigt, size, etc and the child script of robot only shows require('modelScripts/ragnar_child'). Maybe I searched wrong way but where can I find code of the robot so I can understand how it works?
Btw is there any way to improve perfomance of the simulation? I tried to swap openGL from my intel iris to my rtx 3050 and it's only faster a little bit.
Thank you!
Re: Looking for example of random pick and place
See also scene ur5WithRg2Grasping which is a simpler example of pick and place.
-
- Posts: 7
- Joined: 09 Apr 2024, 09:06
Re: Looking for example of random pick and place
You can obtain these joint configurations in various ways:
- manually, by moving the joints to bring the robot's end-effector to the desired pose; the Joint Tool add-on (under Modules > Kinematics) can help you with that.
- by using the simIK function simIK.findConfig.
- if you already created a script to handle IK for your robot, use that, e.g. interactively move its target dummy, then copy the joint values (again the Joint Tool add-on can help you with that, or also defining a Joint Group via the relative add-on, to simplify the handling of robot configurations).