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.8.tar.gz
(72.1 kB
view hashes)
Built Distributions
pymycobot-3.2.8-py3-none-any.whl
(78.1 kB
view hashes)
pymycobot-3.2.8-py2-none-any.whl
(66.5 kB
view hashes)
Close
Hashes for pymycobot-3.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 390d37d8e7c6b29de1e7abb1dfa0081bea123691918c44815db742f005e933a5 |
|
MD5 | a100289d3ab743e629a506d092508bcc |
|
BLAKE2b-256 | 66bb1748d562c7a33b306e5e813509afda91aa3b25de8d86694645af4939b7fb |
Close
Hashes for pymycobot-3.2.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9ea2653c401c73f8d7186dced7f724d7f73c5facbd6e67eee29bcef951a9c00 |
|
MD5 | 8ca8c917b03b1f9e7922beebda937d54 |
|
BLAKE2b-256 | c43df5bfdd024a965f2f785eb7a5bdf068668ba27f413fa3b7716ab017123396 |