코드 : 2 "Choregraphe-Pythonscript"에서 'HelloWorld'
Choregraphe의 PythonScript를 사용하여 Hello-World를 출력합니다.
■Python 박스
다이얼로그에 "Hello World"의 표시까지 단번에 합니다.
Choregraphe 다운로드는 여기에서
• 중간의 회색 영역을 마우스 오른쪽 버튼으로 클릭

• 상자 새로 만들기 > Python을 클릭합니다.

• 상자의 이름을 지정합니다. 이름은 자유롭게

• 만든 상자를 두 번 클릭합니다. 스크립트 편집기가 열립니다.
• 상자의 def에 def onInput_onStart(self):에 처리를 씁니다.

・「def init(self):」에 【self.talkhello = ALProxy('ALTextToSpeech')】
・「def onInput_onStart(self):」에【self.talkhello.say("Hello World!")】
※동작시키고 싶은 부분에 쓰고 있으므로 읽고 나서 바로가 좋다면,
"def onLoad(self):"에 써도 가능.
· 기술하면 저장하고 재생하여 대화 상자에서 로봇이 "Hello World"라고 하고 있는지 확인하십시오.

・박스 라이브러리의 Say에서 사용해도 같은 방법으로 출력할 수 있습니다.
클래식한 "Hello World"였습니다.
robotstart inc
robotstart / For Developers
robotstart/Tech.Links
Address : Shibuya-ku, Tokyo, Japan
E-mail : 닌후 @ @ ts rt. 이. jp
Reference
이 문제에 관하여(코드 : 2 "Choregraphe-Pythonscript"에서 'HelloWorld'), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/MakitoTashiro/items/ad09cb41fe3e8fb37bbd텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)