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.0.tar.gz
(72.2 kB
view hashes)
Built Distributions
pymycobot-3.3.0-py3-none-any.whl
(78.1 kB
view hashes)
pymycobot-3.3.0-py2-none-any.whl
(66.5 kB
view hashes)
Close
Hashes for pymycobot-3.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bacf334238e601c91fe26693256bcee4f750c5d91503cba9357526195f63d78e |
|
MD5 | d4173847d60bfce7886af66471512deb |
|
BLAKE2b-256 | d03c661afcd3944605e5d388e3f09a2764f3d18139397918a3a9c29cc696d0e0 |
Close
Hashes for pymycobot-3.3.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ad823ba6f6e7789e92143dbe27bb017b7c8fa1595e7ce45ff0fe2498aedd734 |
|
MD5 | 6a98054bca0a984b3994df13291c0517 |
|
BLAKE2b-256 | ca294aedbdef7fea19822cc320c7daf0e68f6b8a3ffb070fecbd52ee02b9ba66 |