Changes between Version 36 and Version 37 of en/ProgrammingRobotsCourse/PepperApi
- Timestamp:
- Mar 2, 2023, 10:38:37 AM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
en/ProgrammingRobotsCourse/PepperApi
v36 v37 28 28 29 29 === speech input via Python 30 * in `onLoad` add :30 * in `onLoad` add (leave the `self.tts` lines from previous example there): 31 31 {{{#!python 32 32 self.dialog = ALProxy('ALDialog') … … 40 40 self.logger.info('Running on virtual robot') 41 41 self.speech = None 42 }}} 43 * add at the very beginning of the Python code 44 {{{#!python 45 import random 42 46 }}} 43 47 * process speech accordingly