Skip to content

Latest commit

 

History

History
95 lines (65 loc) · 3.12 KB

README.md

File metadata and controls

95 lines (65 loc) · 3.12 KB

This is Python API for ElephantRobotics product

Python 2.7 Python 3 pypi_version

This is a python API for serial communication with mycobot and controlling it.

home

Installation

Notes:

Make sure that Atom is flashed into the top Atom, Transponder is flashed into the base Basic.
The firmware Atom and Transponder download address: https://github.com/elephantrobotics/myCobot/tree/main/Software
You also can use myStudio to flash them, myStudio address: https://github.com/elephantrobotics/myStudio/releases

Pip

pip install pymycobot --upgrade

Source code

git clone https://github.com/elephantrobotics/pymycobot.git <your-path>
cd <your-path>/pymycobot
# Install
[sudo] python2 setup.py install
# or
[sudo] python3 setup.py install

Or the more modern form:

# Install
pip install .
# Uninstall
pip uninstall .

Usage:

# for mycobot 280 machine
from pymycobot import MyCobot280  
from pymycobot import MyCobot280Socket
# for mycobot 320 machine
from pymycobot import MyCobot320
from pymycobot import MyCobot320Socket  
# for mecharm 270 machine
from pymycobot import MechArm270  
from pymycobot import MechArmSocket  
# for mypalletizer 260 machine
from pymycobot import MyPalletizer260  
from pymycobot import MyPalletizerSocket

The demo directory stores some test case files.

You can find out which interfaces pymycobot provides in pymycobot/README.md.

Please go to here.

Note: Version v3.6.0 differentiates interfaces by model. Starting from this version, the MyCobot class will no longer be maintained. For new usage, please refer to the document:

jaywcjlove/sb jaywcjlove/sb

MyCobot 280 API说明 | MyCobot 280 API Description

MyCobot 320 API说明 | MyCobot 320 API Description

MechArm 270 API说明 | MechArm 270 API Description

MyPalletizer 260 API说明 | MyPalletizer 260 API Description

myAGV API说明 | myAGV API Description

myArm_M&C API说明 | myArm_M&C API Description

ultraArm P340 API说明 | ultraArm P340 API Description