SlideShare une entreprise Scribd logo
1  sur  20
#NAOROBOT
Choregraphe (2.1.2)
It’s a graphical interface to program NAO
(downloadable after creating an account on Community)
Main Plane
Simulator
Boxes
Dedicated Library
For this workshop, you’ll need to add a library.
It’s called Library_Kids_NAOWorkshop.cbl
It contains 3 boxes: LookAround, RaiseArm, LowerHand
Click « open box library »
and select the .cbl file
What’s a box?
A box contains some code executing a specific action
It’s mainly Python code
Also, a box can be made of other boxes
A box can have different outputs
Input Output
Parameters
Edit the box: double click
Stop box
Goal of the workshop
• Setup NAO
• Locate someone and walk to that person
• Ask for an handkerchief
• Grab it
• Ask where to drop it
• Go to this specific place and drop the handkerchief
Sounds easy, right?
Now let’s launch Choregraphe and start a new project!
Define language
Set language box
-> set parameters to english
-> connect to the beginning
Wait for me before starting!
Tactile Head box
-> connect to previous box
-> select one zone (output) that you
will touch to launch the behavior
(let’s take the first one) and connect
the output so as to stop the box
when pressed
Let’s start!
Motor On/Off box
-> connect to previous box
-> set parameter to « on »
Stand Up box
-> connect to previous box
-> if box fails, connect the right
output to end of the behavior
Is someone here?
Two things at the same time once
NAO is standing:
LookAround box
-> connect to previous box
Face Detection box
-> connect to previous box
-> when it finds a face, it must stop
itself and the LookAround box
OK, let me get closer to you!
Face Tracker box
-> connect to previous box (Face
Detection)
-> edit parameters: mode must be
set to « move »
-> when target is reached, the box
stops itself
I have a question for you
Say box
-> connect to previous box
-> edit the box (double click)
1) make sure language is set to
english
2) add text « Hello! Can you please
give me a handkerchief? »
-> click on root to go back to main plane
Give it to me 1/2
RaiseArm box
-> connect to previous box
Hands box
-> connect to previous box
-> edit parameters:
1) select left hand
2) select « open »
Choice box
-> connect to previous box
-> edit the box
1) select « english »
2) add text « can I close my hand? Yes or
no? »
3) create a new output and connect it to
the « No » answer
Give it to me 2/2
If the answer is yes (mid output)
Hands box
-> edit parameters to close left
hand
If the answer is no (last output):
Wait box
-> connect to previous box
-> edit parameters and set timeout
to 1s
-> connect the output to choice box
to relaunch the process
What should I do with this?
Choice box
-> connect to previous box
-> edit the box
1) select « english »
2) add text « Thanks! Should I drop
it in the trash or put it on the
table? Tell me: trash or table? »
3) add choice « trash » & « table »
4) create an output for « table »
and connect it correctly
Where’s the right place? 1/3
Let’s do the first option:
->Connect the first output of
Choice box to the LookAround box
NAOMark box
-> connect to previous box
(Choice)
Switch Case box
-> connect to previous box
(NAOMark)
Where’s the right place? 2/3
Let’s do the first option:
Switch Case box:
-> enter value 85
-> connect the first output back to
NAOMark box to relaunch it
-> connect the second output to stop
the NAOMark box and to stop the
LookAround box
Landmark Tracker box:
-> connect to previous box
-> edit parameters and set mode to
« move »
-> connect last output (target reached)
to stop the box
Where’s the right place? 3/3
Let’s repeat this for the second
option:
-> Add all the boxes and connect
them correctly
-> This time, NAO will be looking
for NAOMark 63
Let me get rid of this
Let’s do the first option:
LowerHand box:
-> connect both landmark tracker
box « target reached » outputs to
launch the box
Hands box:
-> connect to previous box
-> edit parameters to open left
hand
-> connect output to the end of the
program
Bonus (after testing)
How can we enhanced the user experience?
- Get NAO to present what is going to happen at the
beginning of the app
- Get NAO to sit after he’s completely finished
- What else would you add?
NAO Robot workshop for kids (english)

Contenu connexe

En vedette

[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICE[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICEGAMENEXT Works
 
NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)Nicolas Rigaud
 
Prezentáció
PrezentációPrezentáció
Prezentációpintadam
 
NAO Programming using .NET and Webots 01-Introduction to NAO
NAO Programming using .NET and  Webots 01-Introduction to NAONAO Programming using .NET and  Webots 01-Introduction to NAO
NAO Programming using .NET and Webots 01-Introduction to NAOSetiawan Hadi
 
NAO/Pepper 開発環境 について
NAO/Pepper 開発環境 についてNAO/Pepper 開発環境 について
NAO/Pepper 開発環境 についてTakuji Kawata
 
Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1Takuji Kawata
 
Pepperゆるキャラ案内 概要版
Pepperゆるキャラ案内  概要版Pepperゆるキャラ案内  概要版
Pepperゆるキャラ案内 概要版Takesato Nigorikawa
 
Programming NAO the humanoid robot
Programming NAO the humanoid robotProgramming NAO the humanoid robot
Programming NAO the humanoid robotElise Devaux
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with DataSeth Familian
 

En vedette (10)

[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICE[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICE
 
NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)
 
Prezentáció
PrezentációPrezentáció
Prezentáció
 
A robotok mozgása
A robotok mozgásaA robotok mozgása
A robotok mozgása
 
NAO Programming using .NET and Webots 01-Introduction to NAO
NAO Programming using .NET and  Webots 01-Introduction to NAONAO Programming using .NET and  Webots 01-Introduction to NAO
NAO Programming using .NET and Webots 01-Introduction to NAO
 
NAO/Pepper 開発環境 について
NAO/Pepper 開発環境 についてNAO/Pepper 開発環境 について
NAO/Pepper 開発環境 について
 
Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1
 
Pepperゆるキャラ案内 概要版
Pepperゆるキャラ案内  概要版Pepperゆるキャラ案内  概要版
Pepperゆるキャラ案内 概要版
 
Programming NAO the humanoid robot
Programming NAO the humanoid robotProgramming NAO the humanoid robot
Programming NAO the humanoid robot
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 

Plus de Nicolas Rigaud

Creating robots: from fantasy to market centric approaches
Creating robots: from fantasy to market centric approachesCreating robots: from fantasy to market centric approaches
Creating robots: from fantasy to market centric approachesNicolas Rigaud
 
5 Reasons Developers Should Pay Attention To Robotics
5 Reasons Developers Should Pay Attention To Robotics5 Reasons Developers Should Pay Attention To Robotics
5 Reasons Developers Should Pay Attention To RoboticsNicolas Rigaud
 
NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)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
 
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 (8)

Creating robots: from fantasy to market centric approaches
Creating robots: from fantasy to market centric approachesCreating robots: from fantasy to market centric approaches
Creating robots: from fantasy to market centric approaches
 
Streamdata 2017
Streamdata 2017Streamdata 2017
Streamdata 2017
 
Meet pepper
Meet pepperMeet pepper
Meet pepper
 
5 Reasons Developers Should Pay Attention To Robotics
5 Reasons Developers Should Pay Attention To Robotics5 Reasons Developers Should Pay Attention To Robotics
5 Reasons Developers Should Pay Attention To Robotics
 
NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)NAO robot workshop for kids #2 (french)
NAO robot workshop for kids #2 (french)
 
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
 
Apps Qualification for the NAO Store
Apps Qualification for the NAO StoreApps Qualification for the NAO Store
Apps Qualification for the NAO Store
 

Dernier

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 

Dernier (20)

2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 

NAO Robot workshop for kids (english)

  • 2. Choregraphe (2.1.2) It’s a graphical interface to program NAO (downloadable after creating an account on Community) Main Plane Simulator Boxes
  • 3. Dedicated Library For this workshop, you’ll need to add a library. It’s called Library_Kids_NAOWorkshop.cbl It contains 3 boxes: LookAround, RaiseArm, LowerHand Click « open box library » and select the .cbl file
  • 4. What’s a box? A box contains some code executing a specific action It’s mainly Python code Also, a box can be made of other boxes A box can have different outputs Input Output Parameters Edit the box: double click Stop box
  • 5. Goal of the workshop • Setup NAO • Locate someone and walk to that person • Ask for an handkerchief • Grab it • Ask where to drop it • Go to this specific place and drop the handkerchief Sounds easy, right? Now let’s launch Choregraphe and start a new project!
  • 6. Define language Set language box -> set parameters to english -> connect to the beginning
  • 7. Wait for me before starting! Tactile Head box -> connect to previous box -> select one zone (output) that you will touch to launch the behavior (let’s take the first one) and connect the output so as to stop the box when pressed
  • 8. Let’s start! Motor On/Off box -> connect to previous box -> set parameter to « on » Stand Up box -> connect to previous box -> if box fails, connect the right output to end of the behavior
  • 9. Is someone here? Two things at the same time once NAO is standing: LookAround box -> connect to previous box Face Detection box -> connect to previous box -> when it finds a face, it must stop itself and the LookAround box
  • 10. OK, let me get closer to you! Face Tracker box -> connect to previous box (Face Detection) -> edit parameters: mode must be set to « move » -> when target is reached, the box stops itself
  • 11. I have a question for you Say box -> connect to previous box -> edit the box (double click) 1) make sure language is set to english 2) add text « Hello! Can you please give me a handkerchief? » -> click on root to go back to main plane
  • 12. Give it to me 1/2 RaiseArm box -> connect to previous box Hands box -> connect to previous box -> edit parameters: 1) select left hand 2) select « open » Choice box -> connect to previous box -> edit the box 1) select « english » 2) add text « can I close my hand? Yes or no? » 3) create a new output and connect it to the « No » answer
  • 13. Give it to me 2/2 If the answer is yes (mid output) Hands box -> edit parameters to close left hand If the answer is no (last output): Wait box -> connect to previous box -> edit parameters and set timeout to 1s -> connect the output to choice box to relaunch the process
  • 14. What should I do with this? Choice box -> connect to previous box -> edit the box 1) select « english » 2) add text « Thanks! Should I drop it in the trash or put it on the table? Tell me: trash or table? » 3) add choice « trash » & « table » 4) create an output for « table » and connect it correctly
  • 15. Where’s the right place? 1/3 Let’s do the first option: ->Connect the first output of Choice box to the LookAround box NAOMark box -> connect to previous box (Choice) Switch Case box -> connect to previous box (NAOMark)
  • 16. Where’s the right place? 2/3 Let’s do the first option: Switch Case box: -> enter value 85 -> connect the first output back to NAOMark box to relaunch it -> connect the second output to stop the NAOMark box and to stop the LookAround box Landmark Tracker box: -> connect to previous box -> edit parameters and set mode to « move » -> connect last output (target reached) to stop the box
  • 17. Where’s the right place? 3/3 Let’s repeat this for the second option: -> Add all the boxes and connect them correctly -> This time, NAO will be looking for NAOMark 63
  • 18. Let me get rid of this Let’s do the first option: LowerHand box: -> connect both landmark tracker box « target reached » outputs to launch the box Hands box: -> connect to previous box -> edit parameters to open left hand -> connect output to the end of the program
  • 19. Bonus (after testing) How can we enhanced the user experience? - Get NAO to present what is going to happen at the beginning of the app - Get NAO to sit after he’s completely finished - What else would you add?

Notes de l'éditeur

  1. We start the workshop with the set language box Nothing’s really challenging on this one
  2. The goal with this action on the tactile head is to make sure the behavior is not going to start when you press « play » on Choregraphe. So you can upload the behavior, unplug the robot from the computer, and start the behavior once this is done, and not before. We could let the box run instead of stopping it, but that would mean that if you press the head by accident during the demo, it will start again from the beginning
  3. Once we start the behavior, we first need to make sure the motors are turned on, and then we’ll ask NAO to get up on his feet so as to start interacting
  4. Now, we want NAO to find someone. We are going to ask him to turn his head until he finds someone. First thing: looking around. NAO is going to look from left to right and back to the beginning with the LookAround box Then, at the same time he’s doing this, we’ll ask him to look specifically for faces. And once he finds a face, we want him to stop looking around and stop looking for other faces.
  5. The FaceTracker has different mode. « Move » will allow NAO to walk and get closer to the face he’s tracking. When he reaches his target, we want him to stop
  6. Now that we’re close to someone, we’ll make NAO speak and ask for the handkerchief.
  7. Here, so as to grab the handkerchief, we’re going make NAO: Raise his arm Open his hand And since we don’t know how long it’s going to take to give the handkerchief to him, he’s going to ask when he can close his hand
  8. If the answer is yes (you can close your hand), we’re going to close the hand. If the answer is no (you can’t), we’re going to wait for a second and start asking again if it’s going.
  9. Now that NAO is holding the handkerchief, we want him to know where he shoudl drop it. He is going to ask
  10. First, we’re going to explore the « trash » option A NAOMark will represent that place. First, we launch the look around box so NAO start looking from left to right. We also launch at the same time the NAOMark box, so NAO can recognize NAOMark. When he sees one, he will send through the output the corresponding number to the Switch Case box, to perform a test
  11. By entering 85, we set the value we’re interested in. If the NAOMark number sent by NAO is not this, we want NAO to keep looking. If the NAOMark is the one we were looking for, we’ll ask NAO to stop looking around for other NAOMark, reason why we stop two boxes We will then use the landmark tracker box so NAO gets closer to the spot. Once he reaches it, we ask him to stop moving
  12. Here, we ask to do exacty the same thing when the asnwer to the question is the chair and not the trash. All things are done for the same reason as they were on the previous slides 
  13. This is the end: NAO has the handkerchief, he is where he is supposed to drop it, so we just have to drop ti/ For that, we’ll use a first box to move the arm, and a second one to just open the hand. And since we’re done, we’ll connect this last box to the end of the program
  14. This is the end: NAO has the handkerchief, he is where he is supposed to drop it, so we just have to drop ti/ For that, we’ll use a first box to move the arm, and a second one to just open the hand. And since we’re done, we’ll connect this last box to the end of the program