Code: 2 "Hello World" in "Choregraphe-Python script"

This is MAKITO from Robotstart. Output Hello-World using Choregraphe's Python Script.


■ Python box I will do it all at once until "Hello World" is displayed in the dialog. Download Choregraphe [here](https://community.aldebaran.com/en/resources/software)

• Right click on the gray area in the middle article-1.png

• Click New Box> Python article-2.png

• Give the box a name. Feel free to name article-3.png

• Double-click the created box. The script editor opens.

• Write the process in def onInput_onStart (self): in the box def.

スクリーンショット_2015-02-12_12_03_03.png

・ In "def __init __ (self):" [self.talkhello = ALProxy ('ALTextToSpeech')] ・ In "def on Input_onStart (self):" [self.talk hello.say (" Hello World!")]

  • Since it is written in the part you want to operate, if you want to read it immediately, You can also write in "def on Load (self):". -After writing, save and play it, and check if the robot says "Hello World" in the dialog.

スクリーンショット 2015-02-12 12.06.29.png

-You can output in the same way by using it from Say of the box library.

It was the classic "Hello World".


robotstart inc robotstart / For Developers robotstart / Tech.Links

Address : Shibuya-ku, Tokyo, Japan E-mail : [email protected]

Recommended Posts

Code: 2 "Hello World" in "Choregraphe-Python script"
Programming language in "Hello World"
Hello World in GO language
Let's do "Hello World" in 40 languages! !!
cout << "Hello, World! \ N" in python
Hello World in Flask [Appropriate memo]
Hello world
Hello world instead of localhost in Django
How to display Hello world in python
Pymacs hello world
cython hello world
Hello World with gRPC / go in Docker environment
web2py memo: Hello World
hello world with ctypes
RabbitMQ Tutorial 1 ("Hello World!")
Hello, World with Docker
Hello World on Django
Django's first Hello World
Hello world with flask
Display "Hello World" created in the local environment on the web
Hello World in various languages [Python / PHP / Java / Perl / Ruby]
Draw hello world with mod_wsgi
Hello World with Flask + Hamlish
Write standard input in code
Write Spigot in VS Code
Until hello world with zappa
Source code character code check script
Generate QR code in Python
Hello World (beginners) on Django
Python starting with Hello world!
Character code learned in Python
Getting Started with Heroku-Viewing Hello World in Python Django with Raspberry PI 3
Hit the echo command in the Mac terminal to output Hello World
Python beginners tried Hello World in 30 seconds using the micro-framework Flask
Articles to read when Blender Python script code doesn't work in 2.80