SlideShare a Scribd company logo
1 of 15
Download to read offline
Humanoid robots are robots
with their overall appearances
based on that of the human
body.
Robots are electronic machines
programmed to do things
autonomously.
Choregraphe is a graphical programming software
Virtual robot
Main Plan
Boxes library
Output(s)
Inputs
Settings
A box execute a specific action
They are written in Python language
Boxes can be connected to each other
thanks to their inputs and outputs
Exercise 1 :
Configure and wake up NAO
Exercise 2 :
Program NAO to make him
move and speak
Exercise 3 :
Teach NAO dialog and action
rules
Improve your application and test it on NAO
Place and configure the following boxes:
• Set language (to configure in your language)
• Tactile Head
• Stand Up
Connect the boxes to each others
Drag and connect the Say box
Double-click at the center of the box to edit
it and choose the appropriate language
Write down:
« Ah, finally I wake up. Happy to be here! »
Click on root to come back to the main plan
By right clicking on the main plan, create a new
Timeline box that you name Head Animation
Double-click at the center of the box to
enter the animation mode
We are going to create key frames on the
Timeline and for each, define a position for NAO’s
head
Position your cursor on frame 25 and click
on NAO’s head in the simulator
Adjust the head motor angle
To save the position, right click on the
Timeline and choose Store joints in Key
frame
Repeat the operation every 25 frames to
create the whole animation
Click on Play to test
Save your project on the desktop
Add a Wait box between Stand Up and
Head Animation boxes
Create a new Dialog Box and click on Add a new topic.
Select the language and name it HelloWorld (no space allowed)
A new folder appears in your
project. The first file is your box that
you can drag on the main plan.
Double-click on HelloWorld_enu.top. You will be able to write
there user rules that NAO will have to follow.
User rules have the following structure:
Example: u: (hello) hi human
The rule (:u) states that when NAO hears « hello »
(input) he answers « hi human » (output).
Humain input Robot Output
To optimize the dialog, we can improve the rules structure. Here are some examples:
Example 1: u: (hello robot) hi human
There is 1 input and 1 output
Example 2: u: ([hello greetings howdy]) hi human
There are different possible inputs and one output
Example 3: u: (["hello robot" greetings howdy]) [hi
hey hello]
There are different possible inputs and some are made
of several words and also different outputs
Example 4: u: ([hello greetings howdy]) [hi hey
"hello human"]
There are different possible inputs and also
different outputs with some made of several words
Use the examples to write user rules allowing NAO to introduce himself when asked
Example 1: u: (hello robot) hi human
There is 1 input and 1 output
Example 2: u: ([hello greetings howdy]) hi human
There are different possible inputs and one output
Example 3: u: (["hello robot" greetings howdy]) [hi
hey hello]
There are different possible inputs and some are made
of several words and also different outputs
Example 4: u: ([hello greetings howdy]) [hi hey
"hello human"]
There are different possible inputs and also
different outputs with some made of several words
Dialog rules can be linked to animations.
To do so, we have to create events.
Add the following rules:
u: (Please sit down) ok I sit down $sit=1
u: ([" Wave at me" “Greet people“]) Okay I greet $hello=1
Right click and choose « add output » in the
menu to create a new output
Create two new outputs to the dialog box:
« sit » and « hello » and connect them to the matching boxes

More Related Content

What's hot

Infix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using StackInfix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using StackSoumen Santra
 
Exception handling in c programming
Exception handling in c programmingException handling in c programming
Exception handling in c programmingRaza Najam
 
Threaded Binary Tree
Threaded Binary TreeThreaded Binary Tree
Threaded Binary Treekhabbab_h
 
Logic gates ppt
Logic gates pptLogic gates ppt
Logic gates pptparassini
 
DENSITY OF ENERGY STATES
DENSITY OF ENERGY STATESDENSITY OF ENERGY STATES
DENSITY OF ENERGY STATESSathees Physics
 
Data Types and Variables In C Programming
Data Types and Variables In C ProgrammingData Types and Variables In C Programming
Data Types and Variables In C ProgrammingKamal Acharya
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in javaAdil Mehmoood
 
Design and analysis of algorithms
Design and analysis of algorithmsDesign and analysis of algorithms
Design and analysis of algorithmsDr Geetha Mohan
 
Presentation on bipolar junction transistor
Presentation on bipolar junction transistorPresentation on bipolar junction transistor
Presentation on bipolar junction transistorKawsar Ahmed
 
Bipolar Junction Transistor
Bipolar Junction TransistorBipolar Junction Transistor
Bipolar Junction TransistorPrankit Mishra
 
Feedback amplifiers
Feedback  amplifiersFeedback  amplifiers
Feedback amplifiersHarit Mohan
 
Escape sequences
Escape sequencesEscape sequences
Escape sequencesWay2itech
 
Presentation on array
Presentation on array Presentation on array
Presentation on array topu93
 

What's hot (20)

Infix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using StackInfix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using Stack
 
Exception handling in c programming
Exception handling in c programmingException handling in c programming
Exception handling in c programming
 
Op amp
Op ampOp amp
Op amp
 
Threaded Binary Tree
Threaded Binary TreeThreaded Binary Tree
Threaded Binary Tree
 
Arrays and Strings
Arrays and Strings Arrays and Strings
Arrays and Strings
 
Stack and Queue
Stack and Queue Stack and Queue
Stack and Queue
 
Logic gates ppt
Logic gates pptLogic gates ppt
Logic gates ppt
 
DENSITY OF ENERGY STATES
DENSITY OF ENERGY STATESDENSITY OF ENERGY STATES
DENSITY OF ENERGY STATES
 
Data Types and Variables In C Programming
Data Types and Variables In C ProgrammingData Types and Variables In C Programming
Data Types and Variables In C Programming
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in java
 
Infix to postfix conversion
Infix to postfix conversionInfix to postfix conversion
Infix to postfix conversion
 
Pointer in c
Pointer in cPointer in c
Pointer in c
 
Design and analysis of algorithms
Design and analysis of algorithmsDesign and analysis of algorithms
Design and analysis of algorithms
 
Array in c
Array in cArray in c
Array in c
 
Strings in C
Strings in CStrings in C
Strings in C
 
Presentation on bipolar junction transistor
Presentation on bipolar junction transistorPresentation on bipolar junction transistor
Presentation on bipolar junction transistor
 
Bipolar Junction Transistor
Bipolar Junction TransistorBipolar Junction Transistor
Bipolar Junction Transistor
 
Feedback amplifiers
Feedback  amplifiersFeedback  amplifiers
Feedback amplifiers
 
Escape sequences
Escape sequencesEscape sequences
Escape sequences
 
Presentation on array
Presentation on array Presentation on array
Presentation on array
 

Viewers also liked

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
 
Programmer le robot humanoïde NAO [French]
Programmer le robot humanoïde NAO [French]Programmer le robot humanoïde NAO [French]
Programmer le robot humanoïde NAO [French]Elise Devaux
 
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
 
Prezentáció
PrezentációPrezentáció
Prezentációpintadam
 
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
 
Introduction au robot Nao
Introduction au robot NaoIntroduction au robot Nao
Introduction au robot Naobbourgois
 
[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICE[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICEGAMENEXT Works
 
NAO Robot workshop for kids (english)
NAO Robot workshop for kids (english)NAO Robot workshop for kids (english)
NAO Robot workshop for kids (english)Nicolas Rigaud
 
NAO/Pepper 開発環境 について
NAO/Pepper 開発環境 についてNAO/Pepper 開発環境 について
NAO/Pepper 開発環境 についてTakuji Kawata
 
Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1Takuji Kawata
 
Pitch book presentation 1.2
Pitch book presentation 1.2Pitch book presentation 1.2
Pitch book presentation 1.2Trishala Rasya
 
Chicago artist coalition- Brand Alignment Plan
Chicago artist coalition- Brand Alignment PlanChicago artist coalition- Brand Alignment Plan
Chicago artist coalition- Brand Alignment PlanYu-Ning (Eileen) Hung
 

Viewers also liked (20)

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
 
Programmer le robot humanoïde NAO [French]
Programmer le robot humanoïde NAO [French]Programmer le robot humanoïde NAO [French]
Programmer le robot humanoïde NAO [French]
 
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
 
Prezentáció
PrezentációPrezentáció
Prezentáció
 
A robotok mozgása
A robotok mozgásaA robotok mozgása
A robotok mozgása
 
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)
 
Introduction au robot Nao
Introduction au robot NaoIntroduction au robot Nao
Introduction au robot Nao
 
[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICE[SGPKOR] PLATFORM VS SERVICE
[SGPKOR] PLATFORM VS SERVICE
 
Robot nao
Robot naoRobot nao
Robot nao
 
NAO Robot workshop for kids (english)
NAO Robot workshop for kids (english)NAO Robot workshop for kids (english)
NAO Robot workshop for kids (english)
 
Nao robot
Nao robotNao robot
Nao robot
 
NAO/Pepper 開発環境 について
NAO/Pepper 開発環境 についてNAO/Pepper 開発環境 について
NAO/Pepper 開発環境 について
 
Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1Pepper アプリデベロッパーのための NAO アプリ開発講座1
Pepper アプリデベロッパーのための NAO アプリ開発講座1
 
Pitch book presentation 1.2
Pitch book presentation 1.2Pitch book presentation 1.2
Pitch book presentation 1.2
 
Teste vocacional
Teste vocacionalTeste vocacional
Teste vocacional
 
Meanings mob
Meanings mobMeanings mob
Meanings mob
 
Chicago artist coalition- Brand Alignment Plan
Chicago artist coalition- Brand Alignment PlanChicago artist coalition- Brand Alignment Plan
Chicago artist coalition- Brand Alignment Plan
 
Zahid Khattak's CV
Zahid Khattak's CVZahid Khattak's CV
Zahid Khattak's CV
 
USP_Disso_Bazil_2013_Method_Final2
USP_Disso_Bazil_2013_Method_Final2USP_Disso_Bazil_2013_Method_Final2
USP_Disso_Bazil_2013_Method_Final2
 
Chris
ChrisChris
Chris
 

Similar to Programming NAO the humanoid robot

Coding io1--materials for students-group6
Coding io1--materials for students-group6Coding io1--materials for students-group6
Coding io1--materials for students-group6Georgeta Manafu
 
introduccion a logo
introduccion a logointroduccion a logo
introduccion a logojicm45io
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2Botol Budu
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2Solange Zambrano
 
An Introduction to Processing
An Introduction to ProcessingAn Introduction to Processing
An Introduction to ProcessingCate Huston
 
I B.Sc CS questions & answers
I B.Sc CS questions & answersI B.Sc CS questions & answers
I B.Sc CS questions & answersHepsijeba
 
A Grab Of Teaching Tools, Description
A Grab Of Teaching Tools, DescriptionA Grab Of Teaching Tools, Description
A Grab Of Teaching Tools, Descriptiongueste45a4d
 
Basic After Effect & Animation GIF (J&T Express)
Basic After Effect & Animation GIF (J&T Express)Basic After Effect & Animation GIF (J&T Express)
Basic After Effect & Animation GIF (J&T Express)IzzuwanIsmail
 
Getting started--Scratch Programming
Getting started--Scratch ProgrammingGetting started--Scratch Programming
Getting started--Scratch ProgrammingManjula Fernando
 
Motivate yourself like never before
Motivate yourself like never beforeMotivate yourself like never before
Motivate yourself like never beforeAvikDey20
 
Online tools to promote pupil autonomy in MFL
Online tools to promote pupil autonomy in MFL Online tools to promote pupil autonomy in MFL
Online tools to promote pupil autonomy in MFL jonmeier
 
Welcome to word template
Welcome to word templateWelcome to word template
Welcome to word templateInRai1
 

Similar to Programming NAO the humanoid robot (20)

Coding io1--materials for students-group6
Coding io1--materials for students-group6Coding io1--materials for students-group6
Coding io1--materials for students-group6
 
introduccion a logo
introduccion a logointroduccion a logo
introduccion a logo
 
Lab a
Lab aLab a
Lab a
 
Microsoft Office
Microsoft OfficeMicrosoft Office
Microsoft Office
 
python.pdf
python.pdfpython.pdf
python.pdf
 
Scratch2
Scratch2Scratch2
Scratch2
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2
 
Guide scratch2
Guide scratch2Guide scratch2
Guide scratch2
 
An Introduction to Processing
An Introduction to ProcessingAn Introduction to Processing
An Introduction to Processing
 
I B.Sc CS questions & answers
I B.Sc CS questions & answersI B.Sc CS questions & answers
I B.Sc CS questions & answers
 
A Grab Of Teaching Tools, Description
A Grab Of Teaching Tools, DescriptionA Grab Of Teaching Tools, Description
A Grab Of Teaching Tools, Description
 
Basic After Effect & Animation GIF (J&T Express)
Basic After Effect & Animation GIF (J&T Express)Basic After Effect & Animation GIF (J&T Express)
Basic After Effect & Animation GIF (J&T Express)
 
Getting started--Scratch Programming
Getting started--Scratch ProgrammingGetting started--Scratch Programming
Getting started--Scratch Programming
 
Motivate yourself like never before
Motivate yourself like never beforeMotivate yourself like never before
Motivate yourself like never before
 
Online tools to promote pupil autonomy in MFL
Online tools to promote pupil autonomy in MFL Online tools to promote pupil autonomy in MFL
Online tools to promote pupil autonomy in MFL
 
Welcome to word
Welcome to wordWelcome to word
Welcome to word
 
My file
My fileMy file
My file
 
Welcome to word
Welcome to wordWelcome to word
Welcome to word
 
Welcome to word template
Welcome to word templateWelcome to word template
Welcome to word template
 

Recently uploaded

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Recently uploaded (20)

Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

Programming NAO the humanoid robot

  • 1.
  • 2. Humanoid robots are robots with their overall appearances based on that of the human body. Robots are electronic machines programmed to do things autonomously.
  • 3. Choregraphe is a graphical programming software Virtual robot Main Plan Boxes library
  • 4. Output(s) Inputs Settings A box execute a specific action They are written in Python language Boxes can be connected to each other thanks to their inputs and outputs
  • 5. Exercise 1 : Configure and wake up NAO Exercise 2 : Program NAO to make him move and speak Exercise 3 : Teach NAO dialog and action rules Improve your application and test it on NAO
  • 6. Place and configure the following boxes: • Set language (to configure in your language) • Tactile Head • Stand Up Connect the boxes to each others
  • 7. Drag and connect the Say box Double-click at the center of the box to edit it and choose the appropriate language Write down: « Ah, finally I wake up. Happy to be here! » Click on root to come back to the main plan
  • 8. By right clicking on the main plan, create a new Timeline box that you name Head Animation Double-click at the center of the box to enter the animation mode We are going to create key frames on the Timeline and for each, define a position for NAO’s head
  • 9. Position your cursor on frame 25 and click on NAO’s head in the simulator Adjust the head motor angle To save the position, right click on the Timeline and choose Store joints in Key frame Repeat the operation every 25 frames to create the whole animation
  • 10. Click on Play to test Save your project on the desktop Add a Wait box between Stand Up and Head Animation boxes
  • 11. Create a new Dialog Box and click on Add a new topic. Select the language and name it HelloWorld (no space allowed) A new folder appears in your project. The first file is your box that you can drag on the main plan.
  • 12. Double-click on HelloWorld_enu.top. You will be able to write there user rules that NAO will have to follow. User rules have the following structure: Example: u: (hello) hi human The rule (:u) states that when NAO hears « hello » (input) he answers « hi human » (output). Humain input Robot Output
  • 13. To optimize the dialog, we can improve the rules structure. Here are some examples: Example 1: u: (hello robot) hi human There is 1 input and 1 output Example 2: u: ([hello greetings howdy]) hi human There are different possible inputs and one output Example 3: u: (["hello robot" greetings howdy]) [hi hey hello] There are different possible inputs and some are made of several words and also different outputs Example 4: u: ([hello greetings howdy]) [hi hey "hello human"] There are different possible inputs and also different outputs with some made of several words
  • 14. Use the examples to write user rules allowing NAO to introduce himself when asked Example 1: u: (hello robot) hi human There is 1 input and 1 output Example 2: u: ([hello greetings howdy]) hi human There are different possible inputs and one output Example 3: u: (["hello robot" greetings howdy]) [hi hey hello] There are different possible inputs and some are made of several words and also different outputs Example 4: u: ([hello greetings howdy]) [hi hey "hello human"] There are different possible inputs and also different outputs with some made of several words
  • 15. Dialog rules can be linked to animations. To do so, we have to create events. Add the following rules: u: (Please sit down) ok I sit down $sit=1 u: ([" Wave at me" “Greet people“]) Okay I greet $hello=1 Right click and choose « add output » in the menu to create a new output Create two new outputs to the dialog box: « sit » and « hello » and connect them to the matching boxes