03-23-2022, 02:55 PM
I have an 8x8 grid of blocks on a tray. I want to 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