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.2.tar.gz
(71.8 kB
view hashes)
Built Distributions
pymycobot-3.2.2-py3-none-any.whl
(81.2 kB
view hashes)
pymycobot-3.2.2-py2-none-any.whl
(69.7 kB
view hashes)
Close
Hashes for pymycobot-3.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5b526adc04a4ca106bf31d78431a3d8a46e24bf64ac6a5272e25882ed28067e |
|
MD5 | 00ef44f3358c248f7b4f3d25d26d1bb8 |
|
BLAKE2b-256 | 707464d81ab9f59e526921996604491902120d191fb62eb296c0887a7a3e2a8e |
Close
Hashes for pymycobot-3.2.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7f654d0a8580381b7b3db0b1242e9f606727beaf822c96d97a44164b14a3ea6 |
|
MD5 | 70175c5c235f32162e7eaa6d609efd02 |
|
BLAKE2b-256 | 37e89b1c8722bef27fd57894b4e4e308bf5ca3add00887f0fc77defba895926a |