Changes between Version 50 and Version 51 of en/ProgrammingRobotsCourse/PepperApi


Ignore:
Timestamp:
Mar 19, 2025, 10:00:28 PM (2 months ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/PepperApi

    v50 v51  
    249249**Note:** There is quite a lot of course work here done using the [https://en.wikipedia.org/wiki/Command-line_interface command line interface] usually via a [https://en.wikipedia.org/wiki/Terminal_emulator terminal window]. We suggest to study a  **[https://ubuntu.com/tutorials/command-line-for-beginners#3-opening-a-terminal tutorial for working in terminal]**.
    250250}}}
    251   * go to `aurora.fi.muni.cz`, build and copy your SSH keys for the robot access (replace `<xlogin>` with your login):
    252     {{{
    253 ssh <xlogin>@aurora.fi.muni.cz
    254 }}}
    255   * make a ssh key (again replace `<xlogin>` with your login, we may use `$LOGNAME`, which is set by the system, here):
     251  * go to `aurora.fi.muni.cz`, build and copy your SSH keys for the robot access (replace `xlogin` with your login):
     252    {{{
     253ssh xlogin@aurora.fi.muni.cz
     254}}}
     255  * make a ssh key (again replace `xlogin` with your login, we may use `$LOGNAME`, which is set by the system, here):
    256256    {{{
    257257echo LOGNAME=$LOGNAME
     
    262262cp ~/.ssh/pepper_$LOGNAME.pub /nlp/projekty/pepper/course/keys/
    263263}}}
    264   * add host `karel` to your `$HOME/.ssh/config` (replace `<xlogin>` manually):
     264  * add host `karel` to your `$HOME/.ssh/config` (replace `xlogin` manually). Use your favourite text editor, e.g. `nano $HOME/.ssh/config`:
    265265    {{{
    266266Host karel
     
    268268    HostName 192.168.88.10
    269269    # IdentityFile is important for install_pkg.py
    270     IdentityFile ~/.ssh/pepper_<xlogin>
     270    IdentityFile ~/.ssh/pepper_xlogin
    271271    StrictHostKeyChecking no
    272272    PubkeyAuthentication yes
    273273}}}
    274   * build the PKG package in Choregraphe
    275274  * test [https://nlp.fi.muni.cz/trac/pepper/wiki/LogView logview]
    276275    {{{
     
    278277/nlp/projekty/pepper/bin/logview
    279278}}}
     279  * build the PKG package in Choregraphe (''File''->''Build Application Package''). When entering NAOqi requirements choose NAOqi version `2.5-2.5` and Robot requirements `Pepper Y20`.
    280280  * after the key is allowed, install it to the robot
    281281    {{{
     
    305305    ^wait(animations/Stand/Gestures/ShowTablet_3)
    306306}}}
    307   * 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 [https://gitlab.fi.muni.cz/nlp/dialog_presentation_nlp dialog_presentation_nlp] for an example.
     307  * 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 [https://gitlab.fi.muni.cz/nlp/dialog_presentation_nlp dialog_presentation_nlp] for an example.
    308308  * [http://doc.aldebaran.com/2-5/getting_started/creating_applications/using_peppers_tablet.html Using Pepper’s Tablet]
    309309
     
    323323cp -r /nlp/projekty/pepper/course/template $HOME/pepper/
    324324}}}
    325   * rename the `template` to `template_<xlogin>` (replace `<xlogin>` with your login, e.g. with `$LOGNAME`) or something else:
     325  * rename the `template` to `template_xlogin` (replace `xlogin` with your login, e.g. with `$LOGNAME`) or something else:
    326326    {{{
    327327mv $HOME/pepper/template $HOME/pepper/template_$LOGNAME