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.6.tar.gz
(72.1 kB
view hashes)
Built Distributions
pymycobot-3.2.6-py3-none-any.whl
(85.8 kB
view hashes)
pymycobot-3.2.6-py2-none-any.whl
(74.2 kB
view hashes)
Close
Hashes for pymycobot-3.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc25eaeb590be3b1c7cfca92bd4952b173f94831d4b23702e7050d128af6c8e5 |
|
MD5 | a121b43ad91b74230fe29096fda32da7 |
|
BLAKE2b-256 | 1e8df86a85a56d39c4ddb65172d3abe4b112354565063e71a214154a7dad433c |
Close
Hashes for pymycobot-3.2.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae3dd4dbc0a36983acb809bcc8de8b8e98e23d3553f79b1d8da6e6a3674ced92 |
|
MD5 | 396a1e281dbdbf7c9ad31f9ca5d703ea |
|
BLAKE2b-256 | 21247e3db84ac22370b958b7c50f137c0676a79a7880a0cd486d4e945e7dc613 |