Top Banner
Carnegie Mellon University School of Computer Cognitive Primitives for Mobile Robots Development with the Tekkotsu framework Ethan Tira-Thompson David S. Touretzky
20

Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

Dec 16, 2015

Download

Documents

Alvin Simon
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Cognitive Primitives for Mobile Robots

Cognitive Primitives for Mobile Robots

Development with the Tekkotsu framework

Development with the Tekkotsu framework

Ethan Tira-ThompsonDavid S. Touretzky

Ethan Tira-ThompsonDavid S. Touretzky

Page 2: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

22Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

What is Tekkotsu?What is Tekkotsu?•Development framework for robotic

applications

• Handles common tasks to avoid reinvention

• Provides libraries of utility code with integrated interfaces to speed new development

• Increase communication and code reuse by providing a common platform between groups

• Enable high level robotics education

•Development framework for robotic applications

• Handles common tasks to avoid reinvention

• Provides libraries of utility code with integrated interfaces to speed new development

• Increase communication and code reuse by providing a common platform between groups

• Enable high level robotics education

Page 3: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

33Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

What is Tekkotsu?What is Tekkotsu?

Page 4: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

44Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

What is Tekkotsu?What is Tekkotsu?•Written in C++

•Event-based architecture

•Extensive use of templates and inheritance

•High performance, real time

•Open Source - LGPL

•See Tekkotsu.org for code and documentation

•Written in C++

•Event-based architecture

•Extensive use of templates and inheritance

•High performance, real time

•Open Source - LGPL

•See Tekkotsu.org for code and documentation

Page 5: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

55Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Why AIBO?Why AIBO?

•AIBO is currently a unique platform

• Highly articulated (18 joints)

• Significant processing power

• 576 MHz MIPS, 64MB RAM

• Lots of sensors (Color camera, 3 IR range-finders, 3-axis accelerometer, stereo microphones, array of buttons)

• 802.11b wireless ethernet

• Small, light - “desktop” development

• Affordable! $1799 before 6% academic discount

•AIBO is currently a unique platform

• Highly articulated (18 joints)

• Significant processing power

• 576 MHz MIPS, 64MB RAM

• Lots of sensors (Color camera, 3 IR range-finders, 3-axis accelerometer, stereo microphones, array of buttons)

• 802.11b wireless ethernet

• Small, light - “desktop” development

• Affordable! $1799 before 6% academic discount

ERS-7ERS-7

Sample Camera ImageSample Camera Image

Page 6: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

66Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Interactions Between Robotics and Cognitive

Science

Interactions Between Robotics and Cognitive

Science

•Cognitive Scientists can explore practical applications of their ideas

•Roboticists can draw new inspiration from cognitive theories

•Cognitive Scientists can explore practical applications of their ideas

•Roboticists can draw new inspiration from cognitive theories

Page 7: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

77Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Interactions Between Robotics and Cognitive

Science

Interactions Between Robotics and Cognitive

Science

•Cognitive Scientists can explore practical applications of their ideas

•Roboticists can draw new inspiration from cognitive theories

•Cognitive Scientists can explore practical applications of their ideas

•Roboticists can draw new inspiration from cognitive theories

Page 8: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

88Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Primitives for Cognitive Robotics

Primitives for Cognitive Robotics

•Perception (Vision)

•Mapping

•Manipulation

•Control (state machines, subsumption, etc.)

•Attention

•Learning

•Human-Robot Interaction

•Perception (Vision)

•Mapping

•Manipulation

•Control (state machines, subsumption, etc.)

•Attention

•Learning

•Human-Robot Interaction

Page 9: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

99Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Primitives for Cognitive Robotics

Primitives for Cognitive Robotics

•Perception (Vision)

•Mapping

•Manipulation

•Control (state machines, subsumption, etc.)

•Attention

•Learning

•Human-Robot Interaction

•Perception (Vision)

•Mapping

•Manipulation

•Control (state machines, subsumption, etc.)

•Attention

•Learning

•Human-Robot Interaction

Page 10: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1010Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Touchstone Task: Tic-Tac-ToeTouchstone Task: Tic-Tac-Toe

Page 11: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1111Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

•Perception

• Visual Routines [S. Ullman, Cognition, 1984]

•Perception

• Visual Routines [S. Ullman, Cognition, 1984]

Primitives for Cognitive Robotics

Primitives for Cognitive Robotics

Page 12: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1212Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

•Perception

• Dual Coding Theory [Paivio, Mental Representations, 1986]

•Perception

• Dual Coding Theory [Paivio, Mental Representations, 1986]

Primitives for Cognitive Robotics

Primitives for Cognitive Robotics

Page 13: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1313Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Primitives for Cognitive Robotics

Primitives for Cognitive Robotics

•Perception

• Mapping and Navigation

•Perception

• Mapping and Navigation

Page 14: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1414Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Primitives for Cognitive Robotics

Primitives for Cognitive Robotics

•Perceiving objects in terms of the actions that can be performed upon them (door knob/grab twist)

•Affordances [J.J. Gibson, The Theory of Affordances, 1977]

•Perceiving objects in terms of the actions that can be performed upon them (door knob/grab twist)

•Affordances [J.J. Gibson, The Theory of Affordances, 1977]

Camera ImageCamera Image AffordancesAffordances

Page 15: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1515Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Current DevelopmentCurrent Development

•Manipulation Engine

• Point of contact

• Type of contact (ballistic impact, steady pressure, rolling swipe, etc.)

• Path to follow

• Type of visual monitoring

• Motion constraints (e.g. areas or objects to avoid)

•Manipulation Engine

• Point of contact

• Type of contact (ballistic impact, steady pressure, rolling swipe, etc.)

• Path to follow

• Type of visual monitoring

• Motion constraints (e.g. areas or objects to avoid)

Page 16: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1616Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Future PrimitivesFuture Primitives

•Planning: a higher level approach to control structure

• Attentional control: where should the AIBO be looking now?

• Learning: we would like to support experimentation with different learning architectures, such as SOAR or ACT-R

•Modeling human POV (Schultz)

• Stay for the next talk! :)

•Planning: a higher level approach to control structure

• Attentional control: where should the AIBO be looking now?

• Learning: we would like to support experimentation with different learning architectures, such as SOAR or ACT-R

•Modeling human POV (Schultz)

• Stay for the next talk! :)

Page 17: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1717Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Teaching Robot ProgrammingTeaching Robot Programming

•We’re creating a cognitive robotics course to be taught in January 2006

•Focusing on teaching robotic programming at a high level using the cognitive primitives described in this talk

•We’re creating a cognitive robotics course to be taught in January 2006

•Focusing on teaching robotic programming at a high level using the cognitive primitives described in this talk

Page 18: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1818Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

AIBO Home MoviesAIBO Home Movies•Training XOR using a variant of

Temporal Difference Learning•Training XOR using a variant of

Temporal Difference Learning

Movie Clip available from:http://www-2.cs.cmu.edu/~tekkotsu/Samples.html#TD-learning_XOR

Movie Clip available from:http://www-2.cs.cmu.edu/~tekkotsu/Samples.html#TD-learning_XOR

Page 19: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

1919Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

AIBO Home MoviesAIBO Home Movies•k-Armed Bandit (exploration vs.

exploitation)• Just a homework assignment ;-)

•k-Armed Bandit (exploration vs. exploitation)• Just a homework assignment ;-)

Movie Clip available from:http://www-2.cs.cmu.edu/~tekkotsu/Samples.html#k-Armed_Bandit

Movie Clip available from:http://www-2.cs.cmu.edu/~tekkotsu/Samples.html#k-Armed_Bandit

Page 20: Carnegie Mellon University School of Computer Science Carnegie Mellon University School of Computer Science Cognitive Primitives for Mobile Robots Development.

20Carnegie Mellon UniversitySchool of Computer ScienceCarnegie Mellon UniversitySchool of Computer Science

Thanks!Thanks!

Questions?Questions?