Changes between Version 31 and Version 32 of en/ProgrammingRobotsCourse/PepperApi


Ignore:
Timestamp:
Jun 30, 2021, 9:28:11 AM (3 years ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/PepperApi

    v31 v32  
    8888=== adding animations
    8989
    90 * single animation - via `Animation` box
    91 * connect to dialog:
     901. single animation - via `Animation` box
     911. connect to dialog:
    9292  * add rule to topic:
    9393    {{{
     
    9696  * add [http://doc.aldebaran.com/2-5/software/choregraphe/objects/box_input_output.html#choregraphe-reference-box-output output] to the dialog box (right click -> Edit box) named `zamavej` (Bang, punctual)
    9797  * add `Kisses` animation box, connect it to the `zamavej` output
    98 * within the dialog:
     981. within the dialog:
    9999    {{{
    100100u:(~ahoj) ^start(animations/Stand/Gestures/Hey_1) ahoj člověče
     
    248248         call `run_app.py -l` to obtain a list of installed behaviors.
    249249      1. call ''[http://doc.aldebaran.com/2-5/naoqi/interaction/autonomouslife-api.html#ALAutonomousLifeProxy::switchFocus ALAutonomousLife.switchFocus]'' or !QiChat [http://doc.aldebaran.com/2-5/naoqi/interaction/dialog/dialog-syntax_full.html#switchfocus ^switchFocus]
     250
    250251=== using tablet
    251252  * from a dialogue (see [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html QiChat - pCall]):
     
    259260    ^wait(animations/Stand/Gestures/ShowTablet_3)
    260261}}}
     262  * application specific content can be displayed when stored in the subdirectory `html` and (after installation on the real robot) referred from the tablet as `http://198.18.0.1/apps/<application_name>/...`. This way not only images, but also HTML pages with !JavaScript content can be presented. The !JavaScript can also communicate with robot variables in real time, see `dialog_presentation_nlp` for an example.
    261263  * [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html Using Pepper’s Tablet]
    262264