-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
256 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,6 @@ This is a python API for serial communication with mycobot and controlling it. | |
|
||
**Notes**: | ||
|
||
<!-- This is the mycobot Python API package designed by Zhang Lijun([[email protected]]()) --> | ||
|
||
> Make sure that `Atom` is flashed into the top Atom, `Transponder` is flashed into the base Basic. <br> | ||
> The firmware `Atom` and `Transponder` download address: [https://github.com/elephantrobotics/myCobot/tree/main/Software](https://github.com/elephantrobotics/myCobot/tree/main/Software)<br> | ||
> You also can use myStudio to flash them, myStudio address: [https://github.com/elephantrobotics/myStudio/releases](https://github.com/elephantrobotics/myStudio/releases) | ||
|
@@ -41,6 +39,12 @@ cd <your-path>/pymycobot | |
|
||
## Usage: | ||
|
||
```python | ||
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`](./demo) directory stores some test case files. | ||
|
||
You can find out which interfaces pymycobot provides in `pymycobot/README.md`. | ||
|
Oops, something went wrong.