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.0.tar.gz
(71.6 kB
view hashes)
Built Distributions
pymycobot-3.2.0-py3-none-any.whl
(76.1 kB
view hashes)
pymycobot-3.2.0-py2-none-any.whl
(64.5 kB
view hashes)
Close
Hashes for pymycobot-3.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5527cda9b8f542398c8d46ab67f78ee33b53822bbf5d5cd120976cfe33d41e37 |
|
MD5 | f34d365c88b62c103d760cd1f60c4bbf |
|
BLAKE2b-256 | 923e3dc3ed73a8a2880678f842ea9f9416c9210c6cba2b63ee4e4f4da8ac4bdd |
Close
Hashes for pymycobot-3.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6e5f81f8c4eedc19b494754d5ceba909691ac7305776ad34c6e2d4934148d1 |
|
MD5 | 5934decd89a5bd9910f9ae441e63c19c |
|
BLAKE2b-256 | 4d7d1d4e0550c6efdde2d1828e4c3f623f8b85a1f4fb1905f95cef4222eb326a |