Midterm Exam 2002 Midterm Exam 2002 1. Select one of the following four problems. Write LISP program and answer all associated theoretical questions. 2.

Slides:



Advertisements
Similar presentations
Mobile Robot ApplicationsMobile Robot Applications Textbook: –T. Bräunl Embedded Robotics, Springer 2003 Recommended Reading: 1. J. Jones, A. Flynn: Mobile.
Advertisements

Reactive and Potential Field Planners
Start with your equation Move the # term to the other side, and leave a space Determine what HALF of the coefficient of X is Factor the left side Write.
Exact Inference. Inference Basic task for inference: – Compute a posterior distribution for some query variables given some observed evidence – Sum out.
Bump Switch System for WunderBot II By: Matt Barley.
Artificial Intelligence Chapter 5 State Machines.
Team P.A.C.K men EE 296 Project. Chris Mcleod Hardware Specialist.
Introduction to Sensors
Mobile Robot ApplicationsMobile Robot Applications Textbook: –T. Bräunl Embedded Robotics, Springer 2003 Recommended Reading: 1. J. Jones, A. Flynn: Mobile.
Bell Work: Multiply. Write the answer in descending order of the variable (4x + 2)(x – 5)
Programming – Touch Sensors Intro to Robotics. The Limit Switch When designing robotic arms there is always the chance the arm will move too far up or.
The linear algebra of Canadarm
10-1 Programming Remember: –programming language –how to program (conceptually) –intro to programming the “ROBOT” computer In this lecture: –programming.
Design and Implementation of Metallic Waste Collection Robot
Introduction to Artificial Intelligence Lecture 2: Perception & Action
Artificial Intelligence Chapter 2 Stimulus-Response Agents
Program ultrasonic range sensor in autonomous mode
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
Artificial Intelligence Lecture 8. Outline Computer Vision Robots Grid-Space Perception and Action Immediate Perception Action Robot’s Perception Task.
Maze Challenge Maze Challenge activity > TeachEngineering.org
Measured Turns Introductory Presentation. Opening Activity In the Right Face Activity, we made our robot turn right using the program below.
© Jalal Kawash 2010 Introduction Peeking into Computer Science 1.
Chapter P.4 Review Group E. Solving Equations Algebraically and Graphically When solving equations identify these points: - Conditional: Sometimes true,
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.
Department of Electrical Engineering, Southern Taiwan University Robotic Interaction Learning Lab 1 The optimization of the application of fuzzy ant colony.
Typical Graph  This is an example of a typical graph we are all familiar with.  The graph is made up of different “points” with lines that connect the.
Typical Graph  This is an example of a typical graph we are all familiar with.  The graph is made up of different “points” with lines that connect the.
Mobile Robot Navigation Using Fuzzy logic Controller
Wandering Standpoint Algorithm. Wandering Standpoint Algorithm for local path planning Description: –Local path planning algorithm. Required: –Local distance.
MATH 224 – Discrete Mathematics
Find the Mindstorms Icon on the computer.. To start a new program click go.
15-100: Introduction to Programming w/ Java * Ananda Gunawardena -- Lecture – School of Computer Science – Phone : (x81559) – Office: Wean Hall.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
Typical Graph  This is an example of a typical graph we are all familiar with.  The graph is made up of different “points” with lines that connect the.
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 7: Coordinate System.
Vex Robotics Program four: reversing and turning.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
Topographic & Geologic Maps Plus: Latitude and Longitude!
Obstacle Detection. In the previous program the robot moves forward and then checks for something in the way. As we observed it only checks for things.
Entry Task You are a passenger in a car. You are using a cell phone that connects with the tower shown. The tower has an effective range of 6 miles. If.
Typical Graph  This is an example of a typical graph we are all familiar with.  The graph is made up of different “points” with lines that connect the.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Forward Until Near Stop when near a wall.
World of Wokcraft The very best in Single pan cooking themed fantasy gaming!
March 1, 2016Introduction to Artificial Intelligence Lecture 11: Machine Evolution 1 Let’s look at… Machine Evolution.
Autonomous construction of maps by miniature robots Paul Fitzpatrick Colin Flanagan.
Miller Tinkerhess University of Michigan
Redraw these graphs so that none of the line intersect except at the vertices B C D E F G H.
Physical Science 11.1 Motion
State Machines Chapter 5.
Chapter 2-Mapping our World
Computer Architecture CST 250
Measured Turns.
Data Structures: Segment Trees, Fenwick Trees
Chapter 2-Mapping our World
Karnaugh Maps Topics covered in this presentation: Karnaugh Maps
Artificial Intelligence Chapter 2 Stimulus-Response Agents
Chap 11 – Case Studies.
Map & Compass Skills.
Introduction to Artificial Intelligence Lecture 11: Machine Evolution
Maze Challenge Maze Challenge activity > TeachEngineering.org
Pattern Matching Pattern matching allows us to do things like this:
ICT Gaming Lesson 3.
Obstacle Detection.
TOPIC: - GRID REFERENCE
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Getting started with LEGO EV3 Mindstorms software
Midterm Exam Select one of the following four problems. Write LISP program and answer all associated theoretical questions. 2. For Lisp program,
Presentation transcript:

Midterm Exam 2002 Midterm Exam Select one of the following four problems. Write LISP program and answer all associated theoretical questions. 2. For Lisp program, make any simplifying assumptions that you deem necessary to complete the program 3. Give me the program source code and a printout that will prove that the program works 4. Explain ideas and theories behind your robot. You can use PPT rather than comments in the program. Discuss possible variants, not necessarily programming them.

LISP Problem 1 Position of tip in (x,y) coordinates Given is a robot with three degrees of freedom, the two are shown above, the third one is rotation with respect to axis y. There is a tower of blocks of the same size standing on the floor, floor surface going through axis x. The bottom of the pyramide is in location (x11,x21) on the floor.

LISP Problem 1 Write the LISP program that works as follows: knowing the size of the block, k*k*k and the number of blocks N in the pyramide, find first the pyramide (assuming a sensor on the tip) and next build a pyramide in a reverse order in new location (x12,x22). Assume that k*Nmax is approximately equal to L1. Values L1, L2, k and N are parameters. Assume that the gripper can grip the item from many positions. Create a specific procedure for gripper opening and closing.

LISP Problem 2. Recall our old friend robot from class 8 sensors,s i Sensory inputs: Robot movements –north moves the robot one cell up in the cellular grid –east moves the robot one cell to the right –south moves the robot one cell down –west moves the robot one cell to the left Features:

Problem 2 continued. Rules example Specifying a function that selects the appropriate boundary-following action –None of the features has value 1, the robot can move in any direction until it encounters a boundary Values of features Actions

Your tasks Design stimulus-response (reactive) agent in LISP. –1. Abstract sensory values into features –2. Decides on Modes of action –3. Design boolean functions to control motors. The task is to find a relatively short path from any point to any other point given as a start and end coordinates. The robot does not know the map, but knows its initial position and orientation.

LISP Problem 3. Obelisk robot SENSORS: 8 ultrasonic sonar sensors, 4 long IR’s, 8 short IR’s, 1 very-short-range IR Two kinds of sensors

Feature Detectors on OBELIX “Stuck”: –motor current > threshold “Bumped”: –very-short-range IR on “Intersection”: –Long side IR off “Corridor”: –Two long side IR’s on “Box-detectors”: –boolean combinations of FAR and NEAR sonar bits

What to do? 1. Write the program for Obelisk robot that is located in the centre of an unknown building with many doors and internal obstacles connected always to walls. The robot has first to find the walls and be sure that it will not leave the room. Next it has to follow some path which will be such that whole area not covered by obstacles will be visible to the robot at least on some part of this path. This robot is like a guard of a factory that want to see each location from time to time in order that the thieves will not sneak in. First use boolean variables, next continues, replace AND with MIN and OR with MAX. Describe behavior differences of binary and continuous versions

Consider plans like those 1. Be sure that robot will not go out of building seeking for walls in the initial phase. 2. Robot has infinite time to learn the map. 3. When the map is learned, the robot has to see (with sensors) every point on its path at least one in every loop. I suggest to use a spiral movement

Lisp Problem number 4 The space is a binary tree, with entrance in the root of the tree. The gold is somewhere in the leaf. There can be more than one leafs with gold. 1. Write a program that will find gold. 2. Write a program that will find all locations of gold. The tree is represented as a single LISP expression. One example was shown in the class. You have to print all paths to the gold, or a single path to the gold.