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.3b1.tar.gz
(71.9 kB
view hashes)
Built Distributions
Close
Hashes for pymycobot-3.2.3b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17561d0f5e1368d754bd1a7d0b16d3b38e410db35c6d03f19047839016cc5e9b |
|
MD5 | 2da8cda30780c1f8f719df9bf4e21ee7 |
|
BLAKE2b-256 | dbafa318579e854a4a2fdb9f1de09d78f5281526bf42001d75b1c24daca0e85b |
Close
Hashes for pymycobot-3.2.3b1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f9da94e85a502ad017c2690838ea8af22622119774068c4499e32a97a413bfe |
|
MD5 | 9be1c91706a74ae0662935cfd9610e3c |
|
BLAKE2b-256 | 4294f85def8cca4b9fb9ebe61176b39dc0996d3c572ec2c421cc0e6a66b2fb59 |