Andrew H. Fagg: Symbiotic Computing Laboratory 1.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Digital Circuits.
ALGORITHMS - PART 2 CONDITIONAL BRANCH CONTROL STRUCTURE
Types of Logic Circuits
Selection Flow Charts If statements. Flow of Control The flow of control is a concept we’ve already encountered. The concept of control relates to the.
K’nex Engineering Vanderbilt Student Volunteers for Science Spring 2005 Training Presentation.
Notes for presenters: –These slides are provided courtesy of Tom Cortina (Carnegie Mellon University). Details about this activity can be found at
TREASURE HUNT Computer programs often need to process a sequence of symbols such as words in a document or even the text of another program. Computer scientists.
Mrs. Chapman. Tabs (Block Categories) Commands Available to use Script Area where you type your code Sprite Stage All sprites in this project.
L ABORATORY FOR P ERCEPTUAL R OBOTICS U NIVERSITY OF M ASSACHUSETTS A MHERST D EPARTMENT OF C OMPUTER S CIENCE Intent Recognition as a Basis for Imitation.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
1 COMP541 Combinational Logic - II Montek Singh Aug 27, 2014.
1 Expressions, Operators Expressions Operators and Precedence Reading for this class: L&L, 2.4.
The following sample slides are from two different presentations I created on telephone communications.  Slide 3 has hyperlinks embedded to allow the.
Marcus Gallagher and Mark Ledwich School of Information Technology and Electrical Engineering University of Queensland, Australia Sumaira Saeed Evolving.
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
Advanced Instructions Most PLCs now support more advanced functions such as Floating point math, Boolean operations, Shifting, Sequencing, Program control.
CC0002NI – Computer Programming Computer Programming Er. Saroj Sharan Regmi Week 7.
Simple Machines Objectives: To learn about the theory behind Simple Machines To be able to calculate and understand mechanical advantages gained from using.
Chemical Reactions Follow the matter… 1. Chemical Reactions Two chemicals have interacted in some way so that a new substance or substances are formed.
Chapter 1: A First Program Using C#. Programming Computer program – A set of instructions that tells a computer what to do – Also called software Software.
Rock Cycle Game Vanderbilt Student Volunteers for Science Summer 2005 Training Presentation.
Application of Data Programming Blocks. Objectives  Understand the use of data programming blocks and their applications  Understand the basic logic.
Digital Logic Design Lecture # 21 University of Tehran.
Combination of logic gates  Logic gates can be combined to produce more complex functions.  They can also be combined to substitute one type of gate.
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Pac-Man AI using GA. Why Machine Learning in Video Games? Better player experience Agents can adapt to player Increased variety of agent behaviors Ever-changing.
EYFS Maths at Arden Primary School
Boolean Algebra and Reduction Techniques
Lecture 4 Boolean Algebra. Logical Statements °A proposition that may or may not be true: Today is Monday Today is Sunday It is raining °Compound Statements.
BOOLEAN ALGEBRA Only involves in calculations of TRUE and FALSE; either be inputs or output. When a logic statement is TRUE it is assigned a Boolean logic.
Selection Flow Charts If statements. Flow of Control The flow of control is a concept with which we’re already familiar. The concept of control relates.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
8.1 8 Algorithms Foundations of Computer Science  Cengage Learning.
S3 INNOVATION ELECTRONICS. LESSON TITLE: ELECTRONICS Learning Intention: To understand when to use different types of logic gates Activity: Building own.
5-1-2 Synchronous counters. Learning Objectives: At the end of this topic you will be able to: draw a block diagram showing how D-type flip-flops can.
1. Pick up a picture from teacher 2. Conduct research using your phones and textbook to find: birth date- death date country, state, city of origin major.
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
Intro CS – Logic & Operators Lesson Plan 5. Goals  Students can explain basic logical operators  AND, OR, NOT  Students can create truth tables for.
Introduction to the course Aug 30, Day 1 Object-oriented Programming thru Video Games TIDE 1840 Harry Howard Tulane University.
Importance of Good Communication Food for thought after working in groups to make a comic strip.
Preparing to teach OCR GCSE (9-1) Geography B (Geography for Enquiring Minds) Planning, constructing and introducing your new course.
Excursions in Modern Mathematics Sixth Edition
From Switches to Transistors and Gates
Systems and Systems Thinking 3a
COMP541 Combinational Logic - II
Potential Energy Vanderbilt Students Volunteers for Science
CHAPTER 1 : INTRODUCTION
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Exploring Computer Science Lesson 6-2
Boolean Operations 1 and 1 = 1.
Generating Alternative Solutions
BASIC & COMBINATIONAL LOGIC CIRCUIT
Rock Cycle Game Vanderbilt Student Volunteers for Science Summer 2005
Algorithm Discovery and Design
Computational Thinking for KS3
4. Computational Problem Solving
Generating Alternative Solutions
Dr. Clincy Professor of CS
Digital Fundamentals Floyd Chapter 4 Tenth Edition
I=ABD=ACE=BCF=BCDE=ACDF=ABEF=DEF
For loops Taken from notes by Dr. Neil Moore
COMP541 Combinational Logic - II
Using Decision Structures
Basic circuit analysis and design
Laws & Rules of Boolean Algebra
ECE 352 Digital System Fundamentals
Key Stage 1 National Curriculum
Chapter 3 – Describing Logic Circuits
Presentation transcript:

Andrew H. Fagg: Symbiotic Computing Laboratory 1

Agent Control Points: How we communicate matters Using well-defined languages Discovery of languages Communicating in precise ways Augmenting languages: creating new concepts and abstractions Andrew H. Fagg: Symbiotic Computing Laboratory 2

Harold Set up: video conference between classroom and "robot". Robot is shown as torso only (dehumanize). Each side has a set of blocks. Instructor creates a simple model out of a set of blocks. Volunteer student attempts to command the robot to replicate the model. Andrew H. Fagg: Symbiotic Computing Laboratory 3

Our Robot "Primitives" are small elements: move up/down/left/right rotation open/close hand condition actions on sensors (force or tactile) color Andrew H. Fagg: Symbiotic Computing Laboratory 4

Our Robot II Commands are interpreted literally Non-understood commands are indicated with a gesture (shoulder shrug?) Actions should be largely consistent, but some noise should be modeled Andrew H. Fagg: Symbiotic Computing Laboratory 5

Our Robot III Students are encouraged to create higher- level concepts and actions: Pick up X, Put down X, Shape, Size Can define in terms of body state. For example, size can be defined by the distance between the two hands when they are on either side of the object Andrew H. Fagg: Symbiotic Computing Laboratory 6

Discussion Points What did the robot understand? actions and conditionals How reliable was the robot? What was frustrating in working with the robot? What worked well with the robot? What are good abstractions to build? Andrew H. Fagg: Symbiotic Computing Laboratory 7

Wrapping a Box Set up: every pair of students is issued a box, multiple tissue paper pieces, a roll of tape, paper and pencil Write down complete instructions for wrapping the box with the tissue paper Andrew H. Fagg: Symbiotic Computing Laboratory 8

How do we define success? Is the box completely covered? Is the wrapping neat? Do we minimize the amount of tape used? Is the box free of hands and the table? Andrew H. Fagg: Symbiotic Computing Laboratory 9

Testing Once instructions are complete, two pairs of students exchange instructions and attempt to follow them. –Successful? (possible) go back to refine instructions in pairs Group of four work together to define a new set of instructions. Present these instructions to another group of four Andrew H. Fagg: Symbiotic Computing Laboratory 10

Logic with Dominoes Dominoes exercises (A, B, C and D are inputs; X and Y are outputs) #1: NOT –A -> Y –B -> X #2: Combiner –A -> X –B -> X Andrew H. Fagg: Symbiotic Computing Laboratory 11

Logic Problems II #3: Splitter –A -> X –A -> Y #4: Blocker –B -> X –A, B -> nothing happens Andrew H. Fagg: Symbiotic Computing Laboratory 12

Logic Problems III AND/OR (circuit is the same, the assignment of true/false is different) –AC -> X –AD -> Y –BC -> Y –BD -> Y Andrew H. Fagg: Symbiotic Computing Laboratory 13

Logic Problems IV XOR –AC -> X –AD -> Y –BC -> Y –BD -> X Andrew H. Fagg: Symbiotic Computing Laboratory 14

Discussion Assigning true/false logic values to A/B/C/D/X/Y. We can choose this however we want NOT –A,Y=true; B,X=false Can choose the other way: same behavior Andrew H. Fagg: Symbiotic Computing Laboratory 15

Discussion II AND/OR –A/C/X = true; B/D/Y = false: AND –A/C/X = false; B/D/Y = true: OR –Demorgan's laws Computability: with NOT, AND, OR: we can compute anything a computer can compute Andrew H. Fagg: Symbiotic Computing Laboratory 16

Maps and Planning Treasure Island: demonstration with 3 islands What does the initial map look like? Interaction with the harbormaster Augment map with arrows Andrew H. Fagg: Symbiotic Computing Laboratory 17

Seven-Island Exercise Start with map that has just the islands shown. Each group/individual starts at Pirates' Island Indicate which boat to take: A or B (with no information from the harbormaster) Harbormaster directs this person to the appropriate island. Group notes this on their map Process continues. If stuck, reset to Pirate's Island. Goal: discover what all of the boats do. This will allow us to plan a shortest path from one island to another. Andrew H. Fagg: Symbiotic Computing Laboratory 18

Discussion What is the shortest path and the associated actions? Can describe the sequence of boats as a "plan". What is a path that will take 5 hops? What is a path that will take 6 hops? What is a path that will take 7 hops? Andrew H. Fagg: Symbiotic Computing Laboratory 19

Discussion II What happens if the boats cost doubloons? Example: all cost 1 and Pirate's Island B costs 2? What about costing 5? What if the boat captain will pay for you to travel from Shipwreck Bay to Dead Man's Island? 1? 5? Andrew H. Fagg: Symbiotic Computing Laboratory 20

Larger Discussion Contexts: path planning for cars; trucking; robot planning how to make a meal in your kitchen; phone trees Andrew H. Fagg: Symbiotic Computing Laboratory 21

Discussion III Reset all costs to 1. What if the B boat from Pirate's Island returned to Pirate's Island with probability p? Context: Game play; robots working in environments that they cannot entirely predict Andrew H. Fagg: Symbiotic Computing Laboratory 22