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.4b2.tar.gz
(72.8 kB
view hashes)
Built Distributions
Close
Hashes for pymycobot-3.2.4b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b154ff44ba30283926c75eba7f197c6cd22c5f7ac90c9bc9c86318f1cbc921fb |
|
MD5 | 030b7bc778f93b90d5b7c61ee8264519 |
|
BLAKE2b-256 | 4696a9b7b7ca1dcf5712090c4ffadc41e78296438cbea93309222c0418065429 |
Close
Hashes for pymycobot-3.2.4b2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dbc83e5544e7bef3f6c056afd62adbfec6d5e13aba43e4fc10171eda4e6b466 |
|
MD5 | bb41afe7f9a35814a70591c4ae600a08 |
|
BLAKE2b-256 | 3b030407e1f5a2a29eb2833c7f76563a90098b3e036c61e533eba67e1ae1c8a4 |