Robotic arm clamp block

1. Experiment introduction

The purpose of this experiment is to move the blocks from the gray area in the middle to the surrounding blocks of different colors.

First,we need put the yellow square in the gray area, and then run the code unit to the sixth unit in sequence.

At this time, the robotic arm will automatically grab the yellow square placed in the gray area, and then put it into the yellow area, and then the robotic arm will return to its original position.

Place the red square into the gray area and run the code of the seventh unit.

At this time, the robotic arm will automatically grab the yellow block placed in the gray area, then place it in the red area, and then the robotic arm will return to the initial position. . . . .

2. Code

Code path: /home/jetson/Dofbot/3.ctrl_Arm/9.clamp_block.ipynb

The following code content needs to be executed according to the actual step, and cannot be run all at once.