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.1.tar.gz
(71.7 kB
view hashes)
Built Distributions
pymycobot-3.2.1-py3-none-any.whl
(81.2 kB
view hashes)
pymycobot-3.2.1-py2-none-any.whl
(69.6 kB
view hashes)
Close
Hashes for pymycobot-3.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4ac36b25bd61dc1b1754a35681812be7382ea854393773f608be3b05c635bba |
|
MD5 | da13ae434924c49f8acfc69d07c1887b |
|
BLAKE2b-256 | 34c0e2f4835b5c68fbf05e759c3571c745d67ea9f2f19a31aa6e9312ba39bb85 |
Close
Hashes for pymycobot-3.2.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b98056b3bc87b00055fbdc96d8b8df5438ae9bd483694c57953e9f099a7aa58 |
|
MD5 | 2c0fb51de220d74730300cbeba6fd66a |
|
BLAKE2b-256 | 81591bcdfdbc8f83dbc9d0322d25d8fb44893fec6785cb8c5da627cff2395dbc |