PythonLib for XGO2-DOG
Project description
XGO-PythonLib
XGO2 robot can be developed using the Python language.The motion,pose,coordinates,gripper and servo of the XGO2 can be controlled via Python. The detailed instructions for use of the library are as follows.
PythonLib included xgolib.py xgoedu.py xgoadvance.py.
Install instructions
1 Burn the official 0609 img image
2 Copy all files from the "model" directory to \home\pi\model
3 Run this command:
pip install --upgrade xgo-pythonlib
Examples
Perform gesture recognition on the current camera and press the "c" key to exit.
from xgoedu import XGOEDU
edu = XGOEDU()
while True:
result=edu.gestureRecognition()
print(result)
if edu.xgoButton("c"):
break
xgolib library example
from xgolib import XGO
dog = XGO('/dev/ttyAMA0')
dog.action(1)
Lastest Verion:0.1.4
xgolib_version=1.3.0
xgoedu_version=1.2.2
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
xgo-pythonlib-0.1.5.tar.gz
(20.4 kB
view details)
Built Distribution
File details
Details for the file xgo-pythonlib-0.1.5.tar.gz
.
File metadata
- Download URL: xgo-pythonlib-0.1.5.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b36bfaab364b07e67564c9b51a2a9587fc63bb5288be0b1b3ad1330ec3200c8 |
|
MD5 | 1e5f5601fdf224bb4c299242c153d40f |
|
BLAKE2b-256 | 033b553e65af7230b281567e753e1aa771aaf836341923cc4c1c8c477895f6cc |
File details
Details for the file xgo_pythonlib-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: xgo_pythonlib-0.1.5-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76bfef2c6e22037583c29a2792734d21353f9a3b36701586681a93551a35d5ef |
|
MD5 | d0417243bbf193089eff3dc5268e7975 |
|
BLAKE2b-256 | 519deba385670770853728bcce0716f7b878bffb500eda3f477d88786e695c87 |