SlideShare une entreprise Scribd logo
1  sur  19
#NAOROBOT
Choregraphe (2.1.2)
It’s the graphical interface to program NAO
(downloadable after creating an account on Community)
Main Plane
Simulator
Boxes
Boxes search
Dedicated library
For this workshop, you’ll need a behavior library
It’s called D4K Simu.cbl
Click « open box library »
and select the .cbl file
What’s a box?
A box contains some code that executes a specific action
It’s mainly Python
A box can be made of several boxes
A box can have different inputs and outputs
Input Output
Parameters
Edit box: double click
Stop box
Objectif de l’atelier
• NAO is going to tell a story
• We are going to create the beginning together (setting up the
robot)
• You are going to tell your own story with the robot
• You’ll be able to test it step by step in the simulator
• We’ll test on a real robot at the end of the workshop
What language do you speak?
Set language box
-> choose english in parameters
-> connect to the beginning
Turn NAO on
Motor On/Off box
-> select « on » in parameters
-> connect to previous box
Stand Up NAO!
Stand Up box
-> connect to previous box
Hello!
Hello box
-> connect to previous box
Introduction
Say box
-> connect to Stand Up box
(we’ll do 2 things at the same time!)
Edit Say box (double click)
-> set to english
-> write« Hello my friends. That’s good
to see you today! »
-> click on « root » to go back to main
plane
Let’s test
Click on Play
You can see the
result in the
simulator
Text appears in the
Dialog windows
(view > dialog)
Let’s finetune a bit
Wait box
-> add between Stand Up and
Say boxes
-> change duration for 1,0
second in parameters
-> test
Wanna listen to story? 1/2
Choice (light) box
-> connect to Say box
-> edit the box (double click)
Wanna listen to story? 2/2
In Choice (light) box
-> select english
-> write « I feel like telling you a
story. Are you up for it?»
Create a third output and link it to
the 3rd output of the choice box
Click on root togo back to main
plane
What if no?
Add a Say box, connect it to the
last output of the choice box and
edit it (double click)
-> set to english
-> write« Never mind! »
-> click on root to go back to
main plane
Let’s add some body language!
Click on « open box library » and
select the .cbl file (given at the
beginning)
You’ll have a new tab with new
boxes
What if no?
Add a Sad box
-> connect it to the Say box
-> connect the output to the
final output
-> test
(in the dialog windows, you can
write « no » when NAO asks his
question)
What if yes?
Add an Animated Say box
-> connect it to the middle
output of choice box (yes)
-> edit, select english and write
‘Great! Let’s go! »
-> test writing « yes » when NAO
asks his question
Your turn now!
Use Say boxes and the boxes
you can find in the
Devoxx4Kids library to write
and illustrate your story with
You should get something like
that:
Don’t forget to test!

Contenu connexe

Plus de Nicolas Rigaud

Robots Need Game Designers (C. Boudier / N. Rigaud)
Robots Need Game Designers (C. Boudier / N. Rigaud)Robots Need Game Designers (C. Boudier / N. Rigaud)
Robots Need Game Designers (C. Boudier / N. Rigaud)Nicolas Rigaud
 
The Future of Personal Robotics - 2015 - Nicolas Rigaud
The Future of Personal Robotics - 2015 - Nicolas RigaudThe Future of Personal Robotics - 2015 - Nicolas Rigaud
The Future of Personal Robotics - 2015 - Nicolas RigaudNicolas Rigaud
 
Some thoughts on security and robots
Some thoughts on security and robotsSome thoughts on security and robots
Some thoughts on security and robotsNicolas Rigaud
 
Devoxx4Kids workshop - Programming a humanoid robot - english version
Devoxx4Kids workshop - Programming a humanoid robot - english versionDevoxx4Kids workshop - Programming a humanoid robot - english version
Devoxx4Kids workshop - Programming a humanoid robot - english versionNicolas Rigaud
 
Controlling NAO with Java
Controlling NAO with JavaControlling NAO with Java
Controlling NAO with JavaNicolas Rigaud
 
Apps Qualification for the NAO Store
Apps Qualification for the NAO StoreApps Qualification for the NAO Store
Apps Qualification for the NAO StoreNicolas Rigaud
 

Plus de Nicolas Rigaud (6)

Robots Need Game Designers (C. Boudier / N. Rigaud)
Robots Need Game Designers (C. Boudier / N. Rigaud)Robots Need Game Designers (C. Boudier / N. Rigaud)
Robots Need Game Designers (C. Boudier / N. Rigaud)
 
The Future of Personal Robotics - 2015 - Nicolas Rigaud
The Future of Personal Robotics - 2015 - Nicolas RigaudThe Future of Personal Robotics - 2015 - Nicolas Rigaud
The Future of Personal Robotics - 2015 - Nicolas Rigaud
 
Some thoughts on security and robots
Some thoughts on security and robotsSome thoughts on security and robots
Some thoughts on security and robots
 
Devoxx4Kids workshop - Programming a humanoid robot - english version
Devoxx4Kids workshop - Programming a humanoid robot - english versionDevoxx4Kids workshop - Programming a humanoid robot - english version
Devoxx4Kids workshop - Programming a humanoid robot - english version
 
Controlling NAO with Java
Controlling NAO with JavaControlling NAO with Java
Controlling NAO with Java
 
Apps Qualification for the NAO Store
Apps Qualification for the NAO StoreApps Qualification for the NAO Store
Apps Qualification for the NAO Store
 

Dernier

Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Celine George
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 

Dernier (20)

Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17Tree View Decoration Attribute in the Odoo 17
Tree View Decoration Attribute in the Odoo 17
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 

NAO robot workshop for kids #2 (english)

  • 2. Choregraphe (2.1.2) It’s the graphical interface to program NAO (downloadable after creating an account on Community) Main Plane Simulator Boxes Boxes search
  • 3. Dedicated library For this workshop, you’ll need a behavior library It’s called D4K Simu.cbl Click « open box library » and select the .cbl file
  • 4. What’s a box? A box contains some code that executes a specific action It’s mainly Python A box can be made of several boxes A box can have different inputs and outputs Input Output Parameters Edit box: double click Stop box
  • 5. Objectif de l’atelier • NAO is going to tell a story • We are going to create the beginning together (setting up the robot) • You are going to tell your own story with the robot • You’ll be able to test it step by step in the simulator • We’ll test on a real robot at the end of the workshop
  • 6. What language do you speak? Set language box -> choose english in parameters -> connect to the beginning
  • 7. Turn NAO on Motor On/Off box -> select « on » in parameters -> connect to previous box
  • 8. Stand Up NAO! Stand Up box -> connect to previous box
  • 9. Hello! Hello box -> connect to previous box
  • 10. Introduction Say box -> connect to Stand Up box (we’ll do 2 things at the same time!) Edit Say box (double click) -> set to english -> write« Hello my friends. That’s good to see you today! » -> click on « root » to go back to main plane
  • 11. Let’s test Click on Play You can see the result in the simulator Text appears in the Dialog windows (view > dialog)
  • 12. Let’s finetune a bit Wait box -> add between Stand Up and Say boxes -> change duration for 1,0 second in parameters -> test
  • 13. Wanna listen to story? 1/2 Choice (light) box -> connect to Say box -> edit the box (double click)
  • 14. Wanna listen to story? 2/2 In Choice (light) box -> select english -> write « I feel like telling you a story. Are you up for it?» Create a third output and link it to the 3rd output of the choice box Click on root togo back to main plane
  • 15. What if no? Add a Say box, connect it to the last output of the choice box and edit it (double click) -> set to english -> write« Never mind! » -> click on root to go back to main plane
  • 16. Let’s add some body language! Click on « open box library » and select the .cbl file (given at the beginning) You’ll have a new tab with new boxes
  • 17. What if no? Add a Sad box -> connect it to the Say box -> connect the output to the final output -> test (in the dialog windows, you can write « no » when NAO asks his question)
  • 18. What if yes? Add an Animated Say box -> connect it to the middle output of choice box (yes) -> edit, select english and write ‘Great! Let’s go! » -> test writing « yes » when NAO asks his question
  • 19. Your turn now! Use Say boxes and the boxes you can find in the Devoxx4Kids library to write and illustrate your story with You should get something like that: Don’t forget to test!

Notes de l'éditeur

  1. We start the workshop with the set language box Nothing’s really challenging on this one