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
# for ultraArm P1 machine
from pymycobot import UltraArmP1
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:
This is python API for ElephantRobotics product
We support Python2, Python3.5 or later.
Catalogue:
More demo can go to here.
Metadata
Release files for pymycobot 4.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymycobot-4.0.7.tar.gz | 296.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymycobot-4.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 662.4 kB
Release files / pymycobot-4.0.7.tar.gz
| Download URL | pymycobot-4.0.7.tar.gz |
|---|---|
| Size | 296.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b38b74ef63ed6bea53f7f22b53c9b55b4f6bb790a790e49e1eefd7fa6686a4f6
|
|
BLAKE2b-256 checksum How to use checksums |
b6945a3b4b63eeae502446ddb65c6ca341acf5af843a5035342fc2fdf6fac165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Release files / pymycobot-4.0.7-py3-none-any.whl
| Download URL | pymycobot-4.0.7-py3-none-any.whl |
|---|---|
| Size | 365.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cbcde96238af4a1a30a6ee38ba584164ea8aae00340c5afc0e7e811366d4adc4
|
|
BLAKE2b-256 checksum How to use checksums |
25a37f45be5fbeb39870d0d0bae211c393f559196101ab7b0e129cc25a2c47c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|