Skip to main content

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.

Luwu Dynamics · WIKI

PythonLib-WIKI

Install instructions

1 Burn the official 0608 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.3

xgolib_version=1.3.0

xgoedu_version=1.2.1

Project details


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.4.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

xgo_pythonlib-0.1.4-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file xgo-pythonlib-0.1.4.tar.gz.

File metadata

  • Download URL: xgo-pythonlib-0.1.4.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for xgo-pythonlib-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b0bcf698e0de7fd70356c6905d56578cb6584272071059b89d10d74d44cb9a46
MD5 b4b6304b50eb90a6761d37cfb3aacc9a
BLAKE2b-256 abf8e96cfb75fcbedfae87d65ea8b44ac9e412036ca738045b59bf898c19512b

See more details on using hashes here.

File details

Details for the file xgo_pythonlib-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for xgo_pythonlib-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0b05241403f875943b3abce7a27378176be959f1ad2d1c83fde2750a9d300a78
MD5 6b37722a81555761a73b048198d00fc8
BLAKE2b-256 c2a4955ca8279a24e47891d849755dbc8d46c97033cdaab91efee6826d86ddd1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page