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.2.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.2-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: idiap_robot_toolkit-0.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 326a2e53141a576f4620ce2c204c7b21955a7f43c63ef080f2cbac9360993ff5
MD5 ea152ab205d06e26486a1f1f45f949b4
BLAKE2b-256 994958538eaa61f88635d0998a99c883494e30ef11767bcc4deef9dd29f368d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for idiap_robot_toolkit-0.6.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for idiap_robot_toolkit-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 207cf542cbe5e23af6bbe122dbe961619cda404ddce45636c399729bb596a8ef
MD5 2114a61874db097336d4499f7d46f4be
BLAKE2b-256 f1b9f8c2e0b8c5f2f12ad857d073d957c01e3aff69bf24ee78ff17abfb899032

See more details on using hashes here.

Provenance

The following attestation bundles were made for idiap_robot_toolkit-0.6.2-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