Skip to main content

Idiap's Robot Toolkit

Project description

Idiap Robot Toolkit

A toolkit to handle robots with Python.

Installation

The Idiap Robot Toolkit is available on PyPi and can be installed via pip:

$ pip install idiap-robot-toolkit

When using Qt6 through PySide6, install it with conda:

(base) $ conda create -y -n irt python=3.11 pip pyside6
(base) $ conda activate irt
(irt) $ pip install idiap-robot-toolkit
# or
(irt) $ pip install -e .

Using the Wizard-of-Oz GUI

The qi_robot_wizard executable launches a GUI to control Pepper.

qi_robot_wizard --robot pepper --name myapp --scenario resources/yes-no.ini --tablet resources/images/

with for instance the following resources/yes-no.ini file

[yes]

yes: Yes, indeed!
definitely: Definitely yes!
sure: Yes, for sure!

[no]

afraid: I am afraid not!
impossible: Unfortunately, that won't be possible
no: Absolutely not.

and the following images (which will be copied on the robot to /home/nao/.local/share/PackageManager/apps/myapp/html)

pepper-images/
├── black.png
├── green.png
├── idiap-1600.png
└── mummer-logo.png

renders the following GUI

GUI of the Wizard-of-Oz

Using the API

Folder examples contains some Python scripts on how to use the toolkit.

# NAO_IP being defined as en env variable
robot = irt.Pepper()
robot.wake_up()
robot.say("Hello! I am Pepper.")
_, frame = robot.get_frame()

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

idiap_robot_toolkit-0.6.3.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

idiap_robot_toolkit-0.6.3-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file idiap_robot_toolkit-0.6.3.tar.gz.

File metadata

  • Download URL: idiap_robot_toolkit-0.6.3.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for idiap_robot_toolkit-0.6.3.tar.gz
Algorithm Hash digest
SHA256 c1512c846f7cb59d7f46e5523b1778619d58e2d54c5528db642df2a16642e6f9
MD5 69f6dca9a227c63ab0eb38b59981d0b1
BLAKE2b-256 c9c94855b97fd3ca20c62a26d8bd06abe2de41ac3dc039e0aea576e3a0280e9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for idiap_robot_toolkit-0.6.3.tar.gz:

Publisher: publish-to-pypi.yml on idiap/idiap-robot-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file idiap_robot_toolkit-0.6.3-py3-none-any.whl.

File metadata

File hashes

Hashes for idiap_robot_toolkit-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0887acf4307ecde81e0dde4a45b81a9340926da10e14fbde2bbb931e988e61a8
MD5 a1ae2037929c803ad26e665697685697
BLAKE2b-256 a42a5d5aa3635be818dbd044d0c71a49d42d19ae967a5bb30330720f31326e03

See more details on using hashes here.

Provenance

The following attestation bundles were made for idiap_robot_toolkit-0.6.3-py3-none-any.whl:

Publisher: publish-to-pypi.yml on idiap/idiap-robot-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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