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.3.0b0.tar.gz
(72.4 kB
view hashes)
Built Distributions
Close
Hashes for pymycobot-3.3.0b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6feefd0203374f1d0964716ccca3435eaf1a8aed3248c3390d2bffe8a0c84ca |
|
MD5 | e60e20ac449025755351a1641a8c0d11 |
|
BLAKE2b-256 | 49727808525c5568d8292d5755b9a8c70730a64afa5b830e57fcfa23ba217ca9 |
Close
Hashes for pymycobot-3.3.0b0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b00c9a2f39db7764260599ab0e79cb827c93f9abf15ebf2050e8417ebb3d2a57 |
|
MD5 | 7b36174ea59f0b83392c52d0308e8ec2 |
|
BLAKE2b-256 | 3ee3b41c2688ea28412aeaa7438832648b4a76edeb764f141d87d6363ef054df |