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

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.
Bump Switch System for WunderBot II By: Matt Barley.
Midterm Exam 2002 Midterm Exam Select one of the following four problems. Write LISP program and answer all associated theoretical questions. 2.
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.
10-1 Programming Remember: –programming language –how to program (conceptually) –intro to programming the “ROBOT” computer In this lecture: –programming.
EXAMPLE 4 Write a circular model Cell Phones A cellular phone tower services a 10 mile radius. You get a flat tire 4 miles east and 9 miles north of the.
Design and Implementation of Metallic Waste Collection Robot
Introduction to Artificial Intelligence Lecture 2: Perception & Action
Artificial Intelligence Chapter 2 Stimulus-Response Agents
Localisation & Navigation
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.
Application of Math and Science Principles Creating a robot that moves a specified distance straight ahead and Creating a robot that turns a specified.
Maze Challenge Maze Challenge activity > TeachEngineering.org
Smart Plant Robot Prepared by Haya De’bas Jumanah Salhab Supervisor Dr. Ra’ed Al-Qadi.
© Jalal Kawash 2010 Introduction Peeking into Computer Science 1.
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.
Application of Data Programming Blocks. Objectives  Understand the use of data programming blocks and their applications  Understand the basic logic.
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.
StarLogoTNG 101 Treasure Hunt Game Unit Lesson 7: Coordinate System.
The HESSI Imaging Process. How HESSI Images HESSI will make observations of the X-rays and gamma-rays emitted by solar flares in such a way that pictures.
Vex Robotics Program four: reversing and turning.
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.
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.
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.
Unnderstanding Longitude & Latitude.
Three Dimensional Viewing
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.
Principles of a Grid Reference
Physical Science 11.1 Motion
State Machines Chapter 5.
Karel J Robot.
12 Examination 1. Which of the below commands can be used to make decision in program based on a condition? a. If…else b. Set c. Switch d. Assignment e. Wait.
Chapter 2-Mapping our World
Measured Turns.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
IMDL Summer 2007: RoBeDeS by David Ladolcetta.
CMSC5711 Revision (1) (v.7.b) revised
Evaluation in Engineering Design Process Modeling and FSM
Data Structures: Segment Trees, Fenwick Trees
Chapter 2-Mapping our World
PDT176 COMPUTER-AIDED DRAFTING CHAPTER 5 ISOMETRIC DRAWING
Unit 1: Quadratics Final Exam Review.
Karnaugh Maps Topics covered in this presentation: Karnaugh Maps
CIS 488/588 Bruce R. Maxim UM-Dearborn
Artificial Intelligence Chapter 2 Stimulus-Response Agents
Chap 11 – Case Studies.
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:
Identify Which Combination of Transformations took place
Obstacle Detection.
TOPIC: - GRID REFERENCE
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Getting started with LEGO EV3 Mindstorms software
Coordinate Systems Cartesian, Relative and Polar
Presentation transcript:

Midterm Exam 2002 1. 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. January 21, 2002

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 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: 8 sensors,si

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: Two kinds of sensors 8 ultrasonic sonar sensors, 4 long IR’s, 8 short IR’s, 1 very-short-range IR

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 I suggest to use a spiral movement 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.

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.