Python API for serial communication of MyCobot.
Project description
This is Python API for ElephantRobotics product
This is a python API for serial communication with robot and controlling it.
Installation
Notes:
Make sure that
Atomis flashed into the top Atom,Transponderis flashed into the base Basic.
The firmwareAtomandTransponderdownload 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
# The latest code branch is the develop branch. You can choose to install it if necessary.
git clone https://github.com/elephantrobotics/pymycobot.git <your-path>
cd <your-path>/pymycobot
# Install
[sudo] python2 setup.py install # Will not support starting from v4.0.1
# 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
# for ultraArm P340 machine
from pymycobot import ultraArmP340
# for mycobot pro450 machine
from pymycobot import Pro450Client
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:
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
MyBuddy API说明 | MyBuddy API Description
MyBuddyEmoticon API说明 | MyBuddyEmoticon API Description
MyCobot Pro450 API说明 | MyCobot Pro450 API Description# pymycobot
This is python API for ElephantRobotics product
We support Python2, Python3.5 or later.
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
MyBuddy API说明 | MyBuddy API Description
MyBuddyEmoticon API说明 | MyBuddyEmoticon API Description
MyCobot Pro450 API说明 | MyCobot Pro450 API Description
Catalogue:
More demo can go to here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymycobot-4.0.4.tar.gz.
File metadata
- Download URL: pymycobot-4.0.4.tar.gz
- Upload date:
- Size: 235.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec83c115a2307c90539138a443be1a39cd4af869b72f3fd52cc3addc6b309ec0
|
|
| MD5 |
49bab65504eaaf234a3a0b0e547e85e1
|
|
| BLAKE2b-256 |
37570216faab876c026d92505829d8a3e3eca95aac10ab4b039d5be546f7c428
|
File details
Details for the file pymycobot-4.0.4-py3-none-any.whl.
File metadata
- Download URL: pymycobot-4.0.4-py3-none-any.whl
- Upload date:
- Size: 305.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cef3698b6e322f797808bb7c883878dd9bdf7b4b97a7f07431937afb2ef54c6
|
|
| MD5 |
b41ae2d162e1bb0fa30ded19c79a227b
|
|
| BLAKE2b-256 |
7681747c59ec1221c0976e070d9d8f97287cbdd9e8dc3a8d6992c2d48da3d438
|