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.7.tar.gz
(72.1 kB
view hashes)
Built Distributions
pymycobot-3.2.7-py3-none-any.whl
(78.1 kB
view hashes)
pymycobot-3.2.7-py2-none-any.whl
(66.5 kB
view hashes)
Close
Hashes for pymycobot-3.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b02072e9788653f54978f98adeaa969bdb04d0356f91d468ffae4808fb0d139 |
|
MD5 | b7944af8c074d2f663c538c7889b1918 |
|
BLAKE2b-256 | 3419accd10a8be2de9e130b9b1d3858b52116dd949a47c59d1b8e430ca702ea9 |
Close
Hashes for pymycobot-3.2.7-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aabce6d5525c9eab0f1820ef037139aeb81f4ea62d00d13216793d7e491d24d6 |
|
MD5 | 628900088c9daa9329886e7d37fe95e5 |
|
BLAKE2b-256 | 7391e1a2b904c5a6cc0e0fa64e04079991daa1d558158c3ee62129aaa96fb68d |