Changes between Version 16 and Version 17 of en/ProgrammingRobotsCourse/PepperApi
- Timestamp:
- Jan 27, 2020, 1:50:47 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
en/ProgrammingRobotsCourse/PepperApi
v16 v17 133 133 /nlp/projekty/pepper/bin/install_pkg.py your_package.pkg 134 134 }}} 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`: 136 140 {{{ 137 141 /nlp/projekty/pepper/bin/run_app.py your_package[/path_to_behavior] 138 142 }}} 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] 140 145 === using tablet 141 146 * from a dialogue (see [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html QiChat - pCall]):