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.9.tar.gz
(72.2 kB
view hashes)
Built Distributions
pymycobot-3.2.9-py3-none-any.whl
(78.1 kB
view hashes)
pymycobot-3.2.9-py2-none-any.whl
(66.5 kB
view hashes)
Close
Hashes for pymycobot-3.2.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209b28f2753d6abc46d95932e3d3c335567bdad04b03e18e42ce8232d9289f7e |
|
MD5 | 1fb8c78f8e3ce63b58230e92b8352289 |
|
BLAKE2b-256 | d198dda0e7e431ab5dc5f584fe8bfcdb98e141acc142a76ad2c811a40d8a0da2 |
Close
Hashes for pymycobot-3.2.9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9fe001915d94782ce615948ca5565af187d8e8d12c5fdc7b3cf0d0d993a7857 |
|
MD5 | 3b3daf8b7be7bc6b4764e10ac9c0b849 |
|
BLAKE2b-256 | 5ccbcf3cee7e17c0ca4c3998d32ca921be6ec08e8b19d364cdd7d70ccbd32f87 |