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.0b2.tar.gz
(71.0 kB
view hashes)
Built Distributions
Close
Hashes for pymycobot-3.2.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa15a15a85cf5a83de24f01181d97c7f1db04431685723f969c3510ed3cc9b13 |
|
MD5 | c56d774da1d4cb7363478f189ef71fa2 |
|
BLAKE2b-256 | 2ddbcb515600de6da1b2d9babef185fc84f8e84437c892deacbea7ee6b9d13c9 |
Close
Hashes for pymycobot-3.2.0b2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563c49f20d5808855798e88a0a9f8a571a85317ef2775b284c55c2f654f53ab8 |
|
MD5 | 484e97898c698596d888d3867adc48f4 |
|
BLAKE2b-256 | adcb0c48a8f7f97b5bc94b9e392e0c487b005ea4560d40d8af040a6b3fa5c5f9 |