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.4.tar.gz
(72.0 kB
view hashes)
Built Distributions
pymycobot-3.2.4-py3-none-any.whl
(85.6 kB
view hashes)
pymycobot-3.2.4-py2-none-any.whl
(74.0 kB
view hashes)
Close
Hashes for pymycobot-3.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d033281b946c72294b48c5bc6e6cee94e7b5ecad3ec7174213c13a3b070387b3 |
|
MD5 | 3052c64ec5e4af98ba5d7c4bf7f76dcc |
|
BLAKE2b-256 | 4e45e89cc30b10e63e2e2c229a1a766d7abf5ba908c3478eed85a848d2e4f43b |
Close
Hashes for pymycobot-3.2.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c9954b90b8bbf21e167d9545d6081d353d3cb40d36543f1598f10dc2b63fd7 |
|
MD5 | e601890cd29120fcd0bb0b4ee83b8e9b |
|
BLAKE2b-256 | bae00a7672cb1964b21a706e36e898cdfe0616d015ec8f6948d2daf206d21455 |