Changes between Version 9 and Version 10 of en/ProgrammingRobotsCourse/PepperApi


Ignore:
Timestamp:
Oct 14, 2019, 6:56:01 PM (5 years ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/PepperApi

    v9 v10  
    102102== Pepper API II
    103103
    104 * tablet:
    105   * [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html Using Pepper’s Tablet]
    106   * from a dialogue (see [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html QiChat - pCall]):
    107     {{{
    108 u:(jak se můžu dostat na fakultu bez přijímaček?)
    109     Způsobů je celá řada. ^pCall(ALTabletService.showWebview("https://www.fi.muni.cz/admission/guide.html.cs"))
    110     Všechno se dozvíš dnes na přednášce, od paní ze studijního
    111     ^start(animations/Stand/Gestures/ShowTablet_3)
    112     nebo na webu vvv fi muni cz v sekci pro uchazeče.
    113     ^wait(animations/Stand/Gestures/ShowTablet_3)
    114 }}}
    115 * deploy application to the robot
     104* install application to the robot
    116105  * make a ssh key (replace `<xlogin>` with your login):
    117106    {{{
     
    122111cp ~/.ssh/pepper_<xlogin>.pub /nlp/projekty/pepper/course/keys/
    123112}}}
    124    * after the key is allowed, build the PKG package in Choregraphe
    125    * install it
    126      {{{
     113  * add host `karel` to your `$HOME/.ssh/config`:
     114    {{{
     115Host karel
     116    User nao
     117    HostName 192.168.88.10
     118    # IdentityFile is important for install_pkg.py
     119    IdentityFile ~/.ssh/pepper_<xlogin>
     120    StrictHostKeyChecking no
     121    PubkeyAuthentication yes
     122}}}
     123  * build the PKG package in Choregraphe
     124  * after the key is allowed, install it to the robot
     125    {{{
    127126/nlp/projekty/pepper/bin/install_pkg.py your_package.pkg
    128127}}}
     128* tablet:
     129  * from a dialogue (see [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html QiChat - pCall]):
     130    {{{
     131u:(jak se můžu dostat na fakultu bez přijímaček?)
     132    Způsobů je celá řada.
     133    ^pCall(ALTabletService.showWebview("https://www.fi.muni.cz/admission/guide.html.cs"))
     134    Všechno se dozvíš dnes na přednášce, od paní ze studijního
     135    ^start(animations/Stand/Gestures/ShowTablet_3)
     136    nebo na webu vvv fi muni cz v sekci pro uchazeče.
     137    ^wait(animations/Stand/Gestures/ShowTablet_3)
     138}}}
     139  * [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html Using Pepper’s Tablet]
    129140* face characteristics - [http://doc.aldebaran.com/2-5/software/choregraphe/tutos/get_age.html Get Age]/Get Egnder, [http://doc.aldebaran.com/2-5/software/choregraphe/tutos/get_expression.html Get Expression]
    130141* creating application outside Choregraphe