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.4b3.tar.gz
(72.8 kB
view hashes)
Built Distributions
Close
Hashes for pymycobot-3.2.4b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 633aff4abfaa0c137927b217055c94dabc00e34cd90518b403f87051d8d5a92f |
|
MD5 | 7ae8f3009a8115c535b3fc3f78ed9f02 |
|
BLAKE2b-256 | df2bd973825b10c0524ea488d8e8ffcdd4a0e37867fae4b6de1c04924ddb61dc |
Close
Hashes for pymycobot-3.2.4b3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92b9b027a07a8f319a93b550221c7a27e53bdb477e8b1e3f6bf767918d62eea |
|
MD5 | 8828101231a9bba9ebe1097fb063de02 |
|
BLAKE2b-256 | a24afd9be1def07660b8df9b8d0363daf8589895dd448bd8b7c87f633a666222 |