Python API for serial communication of MyCobot.
Project description
This is Python API for myCobot
This is a python API for serial communication with mycobot and controlling it.
Installation
Notes:
Make sure that
Atom
is flashed into the top Atom,Transponder
is flashed into the base Basic.
The firmwareAtom
andTransponder
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
Usage:
from pymycobot import MyCobot, Angle, Coord
from pymycobot import PI_PORT, PI_BAUD # For raspberry pi version of mycobot.
The demo
directory stores some test case files.
You can find out which interfaces pymycobot provides in pymycobot/README.md
.
Please 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
pymycobot-3.2.5.tar.gz
(72.1 kB
view hashes)
Built Distributions
pymycobot-3.2.5-py3-none-any.whl
(85.8 kB
view hashes)
pymycobot-3.2.5-py2-none-any.whl
(74.2 kB
view hashes)
Close
Hashes for pymycobot-3.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99c88df30289f341812b89a98d43058cebbb58813598405962969d84bbd89d93 |
|
MD5 | 0b133c2fcb2e886fb06dc14ed9a50643 |
|
BLAKE2b-256 | 3ba6be671ae81712de494902ff12f55741269a6f2b6ecf662b8d091545764f3d |
Close
Hashes for pymycobot-3.2.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5d4c680e4a2b028b363922ba08ea15210d8b9d9216ba02fc263d8a8f0854103 |
|
MD5 | 1865820f96e6f761fe2ce0f434aa028a |
|
BLAKE2b-256 | 35565dbb86a266253e632a1f7cf74633e8176029dd5794c7b78f1f259cb295ad |