Chinese version of the README -> please click here
-
The computer can be connected to the network port of the controller with a network cable, and then set a fixed IP, which is in the same network segment as the controller IP. The controller can also be connected wirelessly.
- Four-axis robots (such as MG400, etc.) When wired connection is connected to LAN1: ip is 192.168.1.6, when wired connection is connected to LAN2: ip is 192.168.2.6, wireless connection: ip is 192.168.9.1 .
- Six-axis robot (such as CR series, etc.) Wired connection: ip is 192.168.5.1 ,Wireless connection: ip is 192.168.1.6 .
-
Try to ping the controller IP to make sure it is in the same network segment.
-
Numpy is required for the Python environment:
pip install numpy -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
-
files: Stores alarm ID related information
-
images:Store the image resources needed by the UI interface
-
main.py: The entry point of the program.
-
dobot_api.py: It mainly encapsulates the robot interface, according to the robot TCP/IP remote control scheme (https://github.com/Dobot-Arm/TCP-IP-Protocol), modify it by yourself.
-
ui.py: The program runs the UI interface.
Method 1: If you need to detect and search the dynamic library, you need to open the entire directory in VsCode, and then run main.py directly.
Method 2: To detect and search the dynamic library, you need to open the entire directory in PyCharm, and then run main.py directly.
- language: Python 3.8 64-bit
- os: Windows 10 64-bit
The controller versions that can use the TCP/IP protocol are as follows:
- MG400: 1.5.4.0 and above
- CR: 3.5.1.9 and above