Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test •...

20
www.helsinki.fi/yliopisto Introduction to Talking Robots Graham Wilcock Adjunct Professor, Docent Emeritus University of Helsinki 11/11/2016 Graham Wilcock / Introduction to Talking Robots 1

Transcript of Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test •...

Page 1: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Introduction toTalking Robots

Graham Wilcock

Adjunct Professor, Docent Emeritus

University of Helsinki

11/11/2016Graham Wilcock / Introduction to Talking Robots 1

Page 2: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Real Robots and Virtual Robots

Graham Wilcock

11/11/2016Graham Wilcock / Introduction to Talking Robots 2

Page 3: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

• Software that simulates robots

• 2D (e.g. Pyro) or 3D (e.g. Webots)

• Often also simulates environment (e.g. physics)

• Real robots are expensive to test

• Simulate first, then test with real robots

• Real-world environments may be dangerous

• We use Choregraphe for Nao

• Develop behaviours with virtual robot

• Test with real robot

11/11/2016 3Graham Wilcock / Introduction to Talking Robots

Robot simulators

Page 4: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

• Virtual Collaboration Arena (VirCA)

• 3D Virtual Reality software

• C++ on Windows

• MTA SZTAKI, Budapest

• Hungarian Academy of Sciences

• 3D Internet research lab

• Director: Prof. Peter Baranyi

11/11/2016 4Graham Wilcock / Introduction to Talking Robots

VirCA(MTA SZTAKI)

Page 5: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

VirCA Virtual Collaboration Arena

11/11/2016Graham Wilcock / Introduction to Talking Robots 5

https://www.youtube.com/watch?v=tw5rtsQO1d0

Page 6: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

VirCA: Motion capture controlled real and virtual Nao robots

11/11/2016Graham Wilcock / Introduction to Talking Robots 6

https://www.youtube.com/watch?v=UfY0tFT-shY

Page 7: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

VirCA: Remote commanding of a Kuka industrial robot

11/11/2016Graham Wilcock / Introduction to Talking Robots 7

https://www.youtube.com/watch?v=CVDIr-v2Gh0

Page 8: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Pyro: Python Robotics

• Old open source Python robotics toolkit

• http://pyrorobotics.com

• For teaching and research in AI and robotics

• With simulators and with real robots

• Reinforcement learning, fuzzy decisions, neural networks, genetic algorithms, ...

• No updates to Pyro since 2008

• Open source Pyro (”Python robotics”)

• Microsoft-funded Myro (”My Robot”) from 2008

11/11/20168Graham Wilcock / Introduction to Talking Robots

Page 9: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Non-verbal behaviour

• Autonomous behaviour

• Wander randomly

• Avoid obstacles

• Follow a wall

• etc.

• Robot acts silently

11/11/2016Graham Wilcock / Introduction to Talking Robots 9

Page 10: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Pyspeech: Python Speech

• Old open source Python speech interface

• http://code.google.com/p/pyspeech

• Speech input and output

• Speech recognition functions

• Text-to-speech functions

• For Windows XP computers

• Uses Microsoft Speech Engine

11/11/201610Graham Wilcock / Introduction to Talking Robots

Page 11: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Verbal behaviour

• Robot explains its

own actions

• ”object on right”

• (therefore) ”turn left”

• Monologue

• One-way info

• Can be irritating

• ”clear, clear, clear...”

11/11/2016Graham Wilcock / Introduction to Talking Robots 11

Page 12: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Publications using Pyro

• G. Wilcock, K. Jokinen 2011. Adding Speech to a Robotics Simulator. IWSDS 2011, Granada.

• K. Jokinen, G. Wilcock 2011. Emergent Verbal Behaviour in Human-Robot Interaction. CogInfoCom 2011, Budapest.

• K. Jokinen, G. Wilcock 2012. Constructive Interaction for Talking about Interesting Topics. LREC 2012, Istanbul.

11/11/201612Graham Wilcock / Introduction to Talking Robots

Page 13: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

11/11/2016 13Graham Wilcock / Introduction to Talking Robots

Page 14: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

• Based on Microsoft architecture

• Windows 7, Visual Studio, C#, .NET

• Kinect sensor, Xbox controller

• Originally commercial license, now free

• Originally could be used with Nao, now cannot

• No updates since 2012

11/11/2016 14Graham Wilcock / Introduction to Talking Robots

Microsoft:Robotics Developer Studio

https://msdn.microsoft.com/en-us/library/bb648760.aspx

Page 15: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

• Webots simulator from Cyberbotics

• Many simulated robots (Kuka, Aibo, Pioneer, ...)

• Many ready-made simulated world items (walls, doors, lights, chairs, tables, rocks, balls, …)

• Several alternative programming languages (C++, Python, MATLAB, ...)

11/11/2016 15Graham Wilcock / Introduction to Talking Robots

Webots:3D simulator for mobile robots

https://www.cyberbotics.com/webots.php

Page 16: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

Webots movies

11/11/2016Graham Wilcock / Introduction to Talking Robots 16

https://www.cyberbotics.com/movies

Page 17: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto

• Separate software for Nao

• Webots for Nao, from Aldebaran Robotics

• Only one robot type (Nao)

• Many ready-made world items from Webots

• Can connect Choregraphe to robot in Webots

• Create behaviours in Choregraphe

• Observe them in Webots simulated worlds

11/11/2016 17Graham Wilcock / Introduction to Talking Robots

Webots for Nao:3D simulator for Nao robots

http://doc.aldebaran.com/2-1/software/webots/webots_index.htmlhttps://www.youtube.com/watch?v=N7xztVebeTw

Page 18: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto 11/11/2016 18Graham Wilcock / Introduction to Talking Robots

What is ROS?

https://www.youtube.com/watch?v=t2lIQSBaNcY

Page 19: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto 11/11/2016 19Graham Wilcock / Introduction to Talking Robots

ROS RVIZ: 3D visualization

https://youtu.be/i--Sd4xH9ZE

Page 20: Introduction to Talking Robots · 2016. 11. 10. · • Real robots are expensive to test • Simulate first, then test with real robots • Real-world environments may be dangerous

www.helsinki.fi/yliopisto 11/11/2016 20Graham Wilcock / Introduction to Talking Robots

Gazebo 3D Simulator and ROS

https://youtu.be/k2wVj0BbtVk