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
Atomis flashed into the top Atom,Transponderis flashed into the base Basic.
The firmwareAtomandTransponderdownload 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymycobot-3.2.0b1.tar.gz.
File metadata
- Download URL: pymycobot-3.2.0b1.tar.gz
- Upload date:
- Size: 70.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.0.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6ee089e172be53ca7196cbfae12e9ce046acb9e15a54ccacb4a9ec1f18c0d86
|
|
| MD5 |
5d884788dccfa3b6774cfd865a026060
|
|
| BLAKE2b-256 |
3c0ebae83bbab7d38208ee36bcc2bf2e1a9534424a208bad62ea2c64887a4969
|
File details
Details for the file pymycobot-3.2.0b1-py3-none-any.whl.
File metadata
- Download URL: pymycobot-3.2.0b1-py3-none-any.whl
- Upload date:
- Size: 75.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.0.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4a99b4fda6e88cc28c43476ccd07fc38ea8c0b94173ba86b1002c7361ab3364
|
|
| MD5 |
1b4a5a08b1eab1eb108cbfee994ec79c
|
|
| BLAKE2b-256 |
8f538dcf107b98476ae105cb16c2193cce5f40b6d3b0cc79bd43536426268171
|
File details
Details for the file pymycobot-3.2.0b1-py2-none-any.whl.
File metadata
- Download URL: pymycobot-3.2.0b1-py2-none-any.whl
- Upload date:
- Size: 63.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.0.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ecdc932184cff85a159f730954f8cafd78f3fe3cf7190d0740bb925731ec853
|
|
| MD5 |
e36f783788aa5ff4fe0c655ca7d6ea8f
|
|
| BLAKE2b-256 |
db6a42b778119c0c65466d0ab4e06a4d4115e441130f409660226d10cf5cd9ef
|