Changes between Version 31 and Version 32 of en/ProgrammingRobotsCourse/PepperApi
- Timestamp:
- Jun 30, 2021, 9:28:11 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
en/ProgrammingRobotsCourse/PepperApi
v31 v32 88 88 === adding animations 89 89 90 *single animation - via `Animation` box91 *connect to dialog:90 1. single animation - via `Animation` box 91 1. connect to dialog: 92 92 * add rule to topic: 93 93 {{{ … … 96 96 * 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) 97 97 * add `Kisses` animation box, connect it to the `zamavej` output 98 *within the dialog:98 1. within the dialog: 99 99 {{{ 100 100 u:(~ahoj) ^start(animations/Stand/Gestures/Hey_1) ahoj člověče … … 248 248 call `run_app.py -l` to obtain a list of installed behaviors. 249 249 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 250 251 === using tablet 251 252 * from a dialogue (see [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html QiChat - pCall]): … … 259 260 ^wait(animations/Stand/Gestures/ShowTablet_3) 260 261 }}} 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. 261 263 * [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html Using Pepper’s Tablet] 262 264