Changes between Version 16 and Version 17 of en/ProgrammingRobotsCourse/PepperApi


Ignore:
Timestamp:
Jan 27, 2020, 1:50:47 PM (4 years ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/PepperApi

    v16 v17  
    133133/nlp/projekty/pepper/bin/install_pkg.py your_package.pkg
    134134}}}
    135     if the application contains a ''behavior'' (`behavior.xar`), you may run it:
     135=== running/launching the application
     136
     137  * if the application contains a ''behavior'' (`behavior.xar`), it needs to be ''launched''. Behaviors can have two natures: ''interactive'' (used as a dialog) or ''solitary'' (used without a direct listener). Any behavior can be launched using one of 3 ways:
     138      1. specify the behavior's '''[http://doc.aldebaran.com/2-5/naoqi/interaction/triggerconditions.html trigger conditions]''' (works with both [http://doc.aldebaran.com/2-5/software/choregraphe/tutos/create_solitary_activity.html solitary] and [http://doc.aldebaran.com/2-5/software/choregraphe/tutos/create_interactive_activity.html interactive]) and/or its [http://doc.aldebaran.com/2-5/software/choregraphe/tutos/create_interactive_activity.html#step-2-transform-it-into-an-interactive-activity trigger sentences]
     139      1. run it with `run_app.py`:
    136140    {{{
    137141/nlp/projekty/pepper/bin/run_app.py your_package[/path_to_behavior]
    138142}}}
    139     call `run_app.py -l` to obtain a list of installed applications.
     143         call `run_app.py -l` to obtain a list of installed applications.
     144      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]
    140145=== using tablet
    141146  * from a dialogue (see [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html QiChat - pCall]):