Python API of myCobot

这是用于与mycobot进行串行通信并对其进行控制的python API。

Installation

Notes

```

Make sure that you flash `Atom`to the top Atom,flash`Transponder`to the Basic.
Firmware`Atom` and `Transponder` Download link:[https](https://github.com/elephantrobotics/myCobot/tree/main/Software) : [//github.com/elephantrobotics/myCobot/tree/main/Software](https://github.com/elephantrobotics/myCobot/tree/main/Software)
You can also use myStudio to update,download link of myStudio:[https](https://github.com/elephantrobotics/myStudio/releases) : [//github.com/elephantrobotics/myStudio/releases](https://github.com/elephantrobotics/myStudio/releases)

#### Pip

```python
pip install pymycobot --upgrade --user

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.mycobot import mycobot
from pymycobot.mycobot import 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.

results matching ""

    No results matching ""