Telling a robot how to behave Sanjeev Arora COS 116: Spring 2011.

Slides:



Advertisements
Similar presentations
EMBEDDED SYSTEMS. Textbook: T. Bräunl Embedded Robotics, Springer 2003.
Advertisements

Chapter 1 - An Introduction to Computers and Problem Solving
Sensing the World Intro to Robots.
Computer Programming with Robots. Computer programming consists of writing lines of code in a language that a computer will understand to solve a problem.
Where Are We Going? CPSC 120 Principles of Computer Science September 23, 2012.
1 CS 177 Week 12 Recitation Slides Running Time and Performance.
Traffic Light Behavior IF A=1 AND B=0 Car Sensors B A.
Lecture 1: Intro to Computers Yoni Fridman 6/28/01 6/28/01.
ENGR 101: Robotics Lecture 5 – Subprograms Outline  Subprograms  The Infrared Sensor System References 
What is the DARPA Grand Challenge?  Autonomous Robotic Ground Vehicles Goal of the Armed Forces to have 1/3 of the ground vehicles unmanned by 2015 $2.
Deepak Kumar Promising Practices in CS1 Personal Robots for CS1 Deepak Kumar Bryn Mawr College.
Telling a robot how to behave Adam Finkelstein COS 116: Spring 2012.
Learning to Program with Python Sec 9-1 Web Design.
INTRODUCTION OBJECTIVES BE ACQUANTED WITH AUTOMATION AND ROBOTS UNDERSTAND THE TECHNOLOGY OF ROBOTS RECOGNIZE THE ECONOMIC AND SOCIAL ISSUES ASSOCIAT5ED.
ENGG1100 Lecture7: Introduction To Engineering Design (Digital Logic) Part 2 Kin Hong Wong ENGG1100. Ch7-Digital Logic (part 2) 16/02/15 1.
Open and Closed Loops Standard Grade Computing Studies.
COS 116: The Computational Universe Adam Finkelstein Spring 2012.
ENGG1100 Introduction to Engineering Design Digital Logic (Part 2) Prof. Kin Hong Wong Department of Computer Science and Engineering.
Abstraction IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 17, 2013 Carolyn Seaman University of Maryland, Baltimore County.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Introduction CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Introduction to Robotics Part 1 Direct Control Robots and Robotic systems.
IT253: Computer Organization Lecture 1: Introduction Tonga Institute of Higher Education.
Submitted by:- Vinay kr. Gupta Computer Sci. & Engg. 4 th year.
Design and Implementation of Cooperative Mobile Robots G. B. Lush and Gustavo A. Martinez Electronic Devices Laboratory Department of Electrical and Computer.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: An Introduction to Programming Using Visual Basic 2012, All Rights ReservedAn Introduction.
Today’s Agenda 1.Scribbler Program Assignment 1.Project idea due next class 2.Program demonstration due Wednesday, June 3 2.Attendance & lab pair groupings.
Telling a robot how to behave Adam Finkelstein COS 116: Spring 2010.
1 Robotics Challenge Overview. 2 Why? -Viking was tested at the Dunes -Develop intelligent robots -Explore Robotics.
Artificial Intelligence By Michelle Witcofsky And Evan Flanagan.
Barclays Robot Challenge Learn how to Program Robots.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
Sentry System Multiple Sensors
Today’s Agenda 1.Research Paper – Due Wednesday –Oral presentations March 11 & 18 (Last Class &Final) 2.Attendance & lab pair groupings 3.Robots 1.Hands-on.
CS 127 Introduction to Computer Science. What is a computer?  “A machine that stores and manipulates information under the control of a changeable program”
AI in Robotics April 23, 2008 Michael Buynak. Layout Introduction to robotics Ethics Historical (lots of videos)  Past  Present  Future.
What is Artificial Intelligence? What is artificial intelligence? It is the science and engineering of making intelligent machines, especially intelligent.
What is Artificial Intelligence?
CSC 1010 Programming for All Lecture 1 Some material courtesy of Python for Informatics: Exploring Information (
Telling a computer how to behave (via pseudocode -- a workaround for Computing’s Tower of Babel.) COS 116, Spring 2011 Sanjeev Arora.
COS 116: The Computational Universe Adam Finkelstein Spring 2010.
COS 116: The Computational Universe Sanjeev Arora Spring 2011.
Ch 1 - Introduction to Computers and Programming Hardware Terminology Main Memory Auxiliary Memory Drives Writing Algorithms Using Pseudocode Programming.
BTEC First Information and Creative Technology Teaching and Assessment Pack Unit 2: Technology Systems Hardware devices.
Learning to Program with Python Sec 9-1 Web Design.
Computer Control and Monitoring Today we will look at: What we mean by computer control Examples of computer control Sensors – analogue and digital Sampling.
Computer Science.
GCSE COMPUTER SCIENCE Computers
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Learning to Program D is for Digital.
Control Control Devices.
Learning to Program with Python
Introduction to Computers
Introduction to robotics
Music by Touch Music by Touch Presentation > TeachEngineering.org
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Programming Fundamentals
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
CompSci 1: Principles of Computer Science Lecture 1 Course Overview
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
Global Challenge Night Sensor Lesson 2.
 Is a machine that is able to take information (input), do some work on (process), and to make new information (output) COMPUTER.
Presentation transcript:

Telling a robot how to behave Sanjeev Arora COS 116: Spring 2011

Today: Understanding a simple robot Why? Larger goal: seek an answer to “What is Computation?” Acquire insight into technology that will become pervasive within the next decade. Tangible example of “Breathing life into matter.” First encounter with many themes of the course.

Robots in culture

Real robots

Discussion… Mars rover: what are the design principles?

Definition of “Robot”: A machine that can be programmed to interact with the physical environment in a desired way Key word: programmed  As opposed to cars, televisions, which are operated by people

Components of a robot Three stages: 1. Sensors/Inputs: light, sound, motion Computing Hardware 3. Outputs/Actions: motors, lights, speakers…

Our robot: Scribbler Light outputs Speaker Light sensors Obstacle sensor detector Obstacle sensor emitter Stall sensor Line sensor (underneath) Motor/wheels InputsOutputs button

Scribbler inside

Formal specification of actions Fact of life in computing: hardware is “dumb” Forces us to make nebulous concepts precise  What is an obstacle? Language? Music? Intelligence? Running themes:  What is machine “intelligence”?  Are there limits?

Controlling Scribbler: Give it a “Program” “Simple instruction”

“Compound” instructions If then … else …. Do for … times …; Do while …. Do while not …

Always remember… (esp. for Scribbler labs):  Microprocessor can do one thing at a time  Very fast million operations per second!  Complicated idea usually requires compound instruction.

Semantics of “Do While..”; a discussion

Why programmable? Benefits of a programmable device:  Flexible  Multi-use  Universal vs

Example 1: As a burglar alarm If beam interrupted… Beep!

Example 2: As an artiste

Interesting note: Scribbler is even more “stupid” than you think GOTO Main SenseObs: FREQOUT ObsTxLeft, 1, IF (ObsRx = 0) THEN object_left = 1 ELSE object_left = 0 LOW ObsTxLeft FREQOUT ObsTxRight, 1, IF (ObsRx = 0) THEN object_right = 1 ELSE object_right = 0 LOW ObsTxRight RETURN SenseLine: HIGH LineEnable line_right = LineRight line_left = LineLeft LOW LineEnable Do forever { Move Forward for 1s Move back for 1s } END = 3 pages of stuff like “Translator” written by Rajesh Poddar ‘08

Where are things going? “Small cleaning agents” – Brooks

Where are things going? DARPA Grand Challenge ($2 M prize):  132 mile race in the desert  No human control!  5 teams, Stanford won in ~7 hours

The Princeton Entry Undergraduate Project; reached the finals

Where are we going?

Where are things going? Automated highways Being actively researched (From Minority Report)

What is going inside us? “Da Vinci” Robotic surgery system More precise, though often still controlled by human

Why are multi-purpose robots so hard to build? Need precise instruments that act like: eyes, ears, hands, fingers, … Need smart ways (“algorithms”) to use sensor data (ex: human eyesight vs. high- res camera)

This week’s lab: Web 2.0 (Take-home lab – posted on course web page.) This week’s reading: Brooks pp 12-21, pp REMINDERS