MCU door opening training

1. Hardware deployment
1.1 Hardware list
| Name | Quantity | Remarks |
|---|---|---|
| MyCobot Pro 630 | 1 | |
| myAGV Pro | 1 | |
| Wireless handle | 1 | |
| USB cable | 1 | |
| Power Cable for Mobile Manipulator | 1 | |
| Wrench tool | 1 | |
| myGripper F100 | 1 | |
| Emergrncy stop | 1 | |
| M6X16 screw | 6 |
1.2 Hardware Connection
Remove the screws securing the cover on the manipulator base.

Open the cover of the manipulator base, and fasten the manipulator base to the vehicle body through the mounting holes using M6×16 screws.

Install the screws to secure the cover of the manipulator base.

Mount the force-controlled gripper onto the gripper interface of MyCobot Pro630.
a. Secure the flange of the force-controlled gripper to the end effector.

b. Connect the force-controlled gripper to the flange.

c. Connect the M8 cable to the force-controlled gripper.

d. Connect the M8 cable to the manipulator.

e. The finished assembly is shown in the figure below.

Connect the emergency stop.

With myAGV Pro powered off, connect the input end of the adapter cable to the vehicle body, and connect the output end to the manipulator power supply.

After connecting the emergency stop knob, turn it clockwise to release it, then press the power switches of the manipulator and mobile robot.

2. Software deployment
2.1 MyCobot Pro630 usage
Please visit Basic Function Usage for learning
2.2 myAGVPro firmware burning
Burn the firmware by visiting myAGVPro How to Burn Firmware chapter
3. Source code download
Download the MyCobot Pro630MCU door opening training handle control case source code to your local computer
3.1 Download source code
- Use git tool to download source code to local
git clone https://github.com/elephantrobotics/pymycobot.git Use browser to visit the URL to download source code compressed package

Click the
Codebutton- Click the
Download ZIPbutton - After downloading, unzip to any folder
3.2 Enter the myAGVPro_Composite_Kit directory
Use the cd command to enter the pymycobot/demo/myAGVPro_Composite_Kit directory
cd pymycobot/demo/myAGVPro_Composite_Kit
3.3 Download dependencies
Use the pip command to download dependencies
pip install -r requirements.txt
3.4 Modify configuration
Open the
main.pyfile and change the value ofCOMPOSITE_KIT_TYPEtoMyCobotPro630... # ############################################################################################## # Composite kit configuration # ############################################################################################## COMPOSITE_KIT_TYPE = "MyCobotPro630" # MyCobotPro630, MyCobot320, MyArmM750, Undefined DEBUG = False ...Configure
MyCobot Pro630TCP IP and port, changeCOMPOSITE_KIT_HOSTto the IP address of MyCobot Pro630, the default port is 5001Note: This case uses the remote control function of MyCobot Pro630, pay attention to the following issues:
- Make sure MyCobot Pro630 and myAGvPro are in the same LAN
- Make sure the roboflow program in MyCobot Pro630 has been started
- Make sure the IP address and port number of MyCobot Pro630 are correct
... # ############################################################################################## # MyCobot Pro630 Configuration # ############################################################################################## COMPOSITE_KIT_HOST = "192.168.1.234" COMPOSITE_KIT_PORT = 5001 ...How to get the IP address of MyCobot Pro630
You can get the IP address of MyCobot Pro630 by using the
ip acommand in the system
You can get it through the roboflow program

3.5 Run source code
Use the python command to run the source code
python main.py
4. Quick experience
The myAGVPro+MyCobotPro630 handle control function is defined as follows:

Note: Before starting the program, you need to connect the handle receiver to the
USBport of myAGV Pro. After the program is started, when the handle receiver is disconnected, the program will automatically exit