Čeština
English
  • Vítejte na stránkách NLP Centra!
  • Zapojte se do vývoje softwarových nástrojů!
  • Analýza přirozeného jazyka
  • Vyzkoušejte si korpusy o velikosti knihoven online!
  • Studujte jednu ze specializací!
  • Členové laboratoře

PV277 Programming Applications for Social Robots

[ course ] [ next part ]

Introduction

accounts and Choregraphe

  • you may install Choregraphe and other Softbank development tools according to our installation instructions.
  • Choregraphe introduction
  • Create first project in Choregraphe:
    • add Czech to project Properties
    • build program from: Set Language, Say, Dialog, Say (1), Say (2)

    • add Czech to Dialog (double click the Dialog box)
    • edit dialog file ExampleDialog/ExampleDialog_czc.top:
      topic: ~ExampleDialog()
      language: czc
      
      u:(ano) $answer_yes=1
      u:(ne) $answer_no=1
      
    • add/change Dialog box outputs to answer_yes and answer_no, connect them to the Say boxes (use Edit box with right click)
    • Save the project

virtual robot

  • Edit -> Preferences -> Virtual Robot -> Pepper Y20 (V16)
  • Connection -> Connect to virtual robot
  • virtual robot does not have speech recognition - input must be entered manually in Dialog window - View -> Dialog
  • Run the project
    during execution write the answers in the Dialog

real robot

Note: There is quite a lot of course work here done using the command line interface usually via a terminal window. We suggest to study a tutorial for working in terminal.

  • Save your project
  • copy the project directory /home/<login>/pepper/01intro to
    /nlp/projekty/pepper/course/tmp/<login>/
  • if launching on real robot produces error behavior_1: permission violation(s): canRunOnPod then behavior.xar needs a permission (in Inspector on the right) of Behavior can be run on charging station (<permissions><canRunOnPod/></permissions> in manifest.xml).


[ course ] [ next part ]