Changes between Version 1 and Version 2 of en/ProgrammingRobotsCourse/PepperApi


Ignore:
Timestamp:
Sep 30, 2019, 4:20:06 PM (10 months ago)
Author:
Ales Horak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • en/ProgrammingRobotsCourse/PepperApi

    v1 v2  
    44
    55* http://doc.aldebaran.com/2-5/index_dev_guide.html
     6* programming in Choregraphe via Python:
     7  * enter only one box `Python Script`
     8  * edit its contents via double click:
     9    * to `__init__` add:
     10      {{{
     11self.tts = ALProxy('ALTextToSpeech')
     12self.tts.setLanguage('Czech')
     13}}}
     14    * to `onInput_onStart` add:
     15      {{{
     16self.tts.say("Ahoj, jak se máš?")
     17self.onStopped()
     18}}}
     19   * add `Czech` into Project Properties [[br]]
     20     [[Image(project_properties_cz.png)]]