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.3.tar.gz
(46.7 kB
view hashes)
Built Distributions
pymycobot-3.2.3-py3-none-any.whl
(81.3 kB
view hashes)
pymycobot-3.2.3-py2-none-any.whl
(69.7 kB
view hashes)
Close
Hashes for pymycobot-3.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad6672254eba699a922736d6829949b9a38634f919e422bcf710b3dd956a22c7 |
|
MD5 | b55ce113b4297abdee471fca75d83a95 |
|
BLAKE2b-256 | 469385b14ecde060d6182ea20b8802bcea98f79b4aaabef04a62c19b76736698 |
Close
Hashes for pymycobot-3.2.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396d0e7b72432a7ee770df570c4fbb911a98e8636949816b3b785e11f5d130c1 |
|
MD5 | 0df65caee3c99c535d7df7d2f7e3acf1 |
|
BLAKE2b-256 | ce92b0728a70d92e9b93da22e5e8321ad059dc307e975de555a19df2f47eea43 |