pymycobot
pymycobot copied to clipboard
This is a python API for ElephantRobotics product.
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
Or the more modern form:
# Install
pip install .
# Uninstall
pip uninstall .
## Usage:
```python
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.
