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.0b1.tar.gz
(70.9 kB
view hashes)
Built Distributions
Close
Hashes for pymycobot-3.2.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a99b4fda6e88cc28c43476ccd07fc38ea8c0b94173ba86b1002c7361ab3364 |
|
MD5 | 1b4a5a08b1eab1eb108cbfee994ec79c |
|
BLAKE2b-256 | 8f538dcf107b98476ae105cb16c2193cce5f40b6d3b0cc79bd43536426268171 |
Close
Hashes for pymycobot-3.2.0b1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ecdc932184cff85a159f730954f8cafd78f3fe3cf7190d0740bb925731ec853 |
|
MD5 | e36f783788aa5ff4fe0c655ca7d6ea8f |
|
BLAKE2b-256 | db6a42b778119c0c65466d0ab4e06a4d4115e441130f409660226d10cf5cd9ef |