= [[https://is.muni.cz/auth/predmet/fi/pv277|PV277 Programming Applications for Social Robots]] = == Introduction * [raw-attachment:robot_Karel_Pepper-EN.pdf:wiki:en/ProgrammingRobotsCourse/Introduction Robot Karel Pepper] === accounts and Choregraphe * you may install Choregraphe and other Softbank development tools according to our [https://nlp.fi.muni.cz/trac/pepper/wiki/InstallationInstructions 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)` [[br]] [[Image(01intro.png)]] [[br]] * 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 [[Image(pepper_save.png, valign=top)]] === 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 [[Image(pepper_run.png, valign=top)]] [[br]] during execution write the answers in the Dialog === real robot * Save your project * copy the project directory `/home//pepper/01intro` to [[br]] `/nlp/projekty/pepper/course/tmp//`