naoqi-control
Laptop-side control of a NAO over NAOqi. One NaoController tries ports 9559 (older NAO versions) and 9561 (newer NAO versions) until one accepts, owns the worker thread that serializes blocking qi calls, and holds the pieces a caller usually wants:
tts: say, async say, say-until-button, stop, speed, language, pitch.audio: master speaker volume.motion: posture, stiffness, joint moves, and named gestures (wave, farewell, nod, shake). Gestures areAnimationkeyframes.camera: one frame or a stream from the top or bottom camera.buttons: head, bumper, and hand events as async press and release callbacks.leds:Leds.fadefor one group. Conversation colors stay in the app that owns them.
Pass log= to NaoController when the caller wants spoken lines and failures on its own log. The object needs error, verbose, and nao methods. Without it, those lines go to the naoqi_control logger.
The package requires Python 3.12. On Windows, use the Dev Container, since qi has no Windows wheels.
from naoqi_control import NaoController
nao = NaoController("192.168.2.50", log=my_log)
await nao.prepare(volume=80, speech_speed=90, posture="Sit")
await nao.speak("Hallo.", timeout=8)
nao.motion.wave(["left"])
frame = await nao.camera.capture("top")
Metadata
Release files for naoqi-control 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| naoqi_control-0.1.0.tar.gz | 23.1 kB | Without provenance | Details for naoqi_control-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| naoqi_control-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for naoqi_control-0.1.0-py3-none-any.whl |
Total release size: 44.7 kB
Release files / naoqi_control-0.1.0.tar.gz
| Download URL | naoqi_control-0.1.0.tar.gz |
|---|---|
| Size | 23.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae4465097116d4631a0bfa801c18f1ce7a72295f8b8e8f8831ce9b43fd4344f5
|
|
BLAKE2b-256 checksum How to use checksums |
615b762da1d54a21bd15e9089ba70064b4857563b9c4bacca9e93a14c4a4a354
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / naoqi_control-0.1.0-py3-none-any.whl
| Download URL | naoqi_control-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c707a78809126f38722e997057d2549a0d0ca3db1118d9782933ef4285717a8
|
|
BLAKE2b-256 checksum How to use checksums |
62157743c76121665c156f2cf9c44261fc268a531d8613243a73d3b395f3236d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for naoqi-control 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.