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.4b1.tar.gz
(72.0 kB
view hashes)
Built Distributions
Close
Hashes for pymycobot-3.2.4b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02bc06c42b0be0dcdd4b7f442ecea17ead4415dcf61e8991ad92952486049682 |
|
MD5 | a5dce4a4a7a21278af35c33834395fb5 |
|
BLAKE2b-256 | eae20018c18fdcc5a7a6e27611f91c7b19b2c1214645fd786360be3df8accd04 |
Close
Hashes for pymycobot-3.2.4b1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92fa7aef101bfbc6e6b3d3fe35b6833a953768b94f6982ab0778cdc79e071d7f |
|
MD5 | e5fc4b29feb18e26eb13f4a52901c310 |
|
BLAKE2b-256 | e6d9aae0b6af43004fe0782b6e04de9fc9eaeaf52a01abff1a45d495daebfd71 |