03-23-2022, 02:55 PM
我有一个8×8网格块的托盘。我想use a UR3 with a Robotiq gripper to pick up one of these blocks and move it elsewhere. I could naively make 64 separate programs to pick up any of the blocks, then at runtime select which program to execute. But it would be smarter to have a single program, with a variable target. What is the best way to make this happen?
For example, I'd like a program where I could input the row and column of the block I want, i.e.pickupBlock(3,7). Picture attached
For example, I'd like a program where I could input the row and column of the block I want, i.e.pickupBlock(3,7). Picture attached