Navigating a Maze.

Slides:



Advertisements
Similar presentations
What is Engineering?.
Advertisements

How Do You Make a Program Wait?. 1. What is an algorithm? 2. Can you think of a reason why it might be inconvenient to program your robot to always go.
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
A CTIVITY M OVEMENT TASK USING SENSORS - HUMANS AND ROBOTS (75 MINUTES ) 1.
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
Don’t Bump into Me!. 1. How do bats sense distance? 2. Describe how bats sense distance in a “stimulus-sensor-coordinator-effector- response” framework.
Loops and Switches. 1. What kind of blocks are these? 2. Name two kinds of controls that can be specified to determine how long a loop repeats. 3. Give.
Tell the robot exactly how to draw a square on the board.
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
What Is a Program?. What Is a Program? Pre-Quiz 1. What is a program? 2. What is an algorithm? Give an example. 2.
Introduction to Programming. What is a Program  Set of Instructions that tells the computer what to Do.  Driving force behind the computer  Without.
Navigating a Maze. Navigating a Maze Pre-Quiz 2 1. What is the difference between a program and an algorithm? 2. About how many inches does an NXT move.
Maze Challenge Maze Challenge activity > TeachEngineering.org
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Master Driver. Master Driver Activity Your Engineering Challenge Make your robot move in a straight line from the start position, and make it stop accurately,
Using Waits, Loops and Switches WAIT please!. Waits, Loops and Switches Pre-Quiz 1. In programming, what is a loop? When is a loop useful? 2. How can.
Procedural Text A mini-lesson brought to you by Sheon.
Science 801 Robotics The Final Project. Task Your team will create a robot that will complete a number of challenges as it moves through a series of tasks.
EXPOSITORY TEXT. Expository text gives facts and information about a topic. This kind of text usually states a main idea, or central idea, about the topic.
1 Team Skill 3 Defining the System Part 1: Use Case Modeling Noureddine Abbadeni Al-Ain University of Science and Technology College of Engineering and.
How Do You Make a Program Wait?
Remote Control Using Bluetooth
ICS 3UI - Introduction to Computer Science
Line-Follower Challenge
What Are Gears? What Do They Do?
A mini-lesson brought to you by Sheon
Programming Fundamentals
Understanding Communication with a Robot? Activity (60 minutes)
Designing Like an Engineer!
Sumobot Challenge Sumobot Challenge Activity > TeachEngineering.org
Engineering Design Process
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
UNIT 3 – LESSON 5 Creating Functions.
What Is a Program? What Is a Program? lesson > TeachEngineering.org
Application of Pseudo Code
Formative Assessment Strategies
Robot Soccer Challenge
How Does an Ultrasonic Sensor Work?
Sumobot Challenge Sumobot Challenge Activity > TeachEngineering.org
How Does a Touch Sensor Work?
What Is Engineering? What Is Design?
Loops and Switches Pre-Quiz
What Is Engineering? What Is Design?
A mini-lesson brought to you by Sheon
Programming.
Creativity in Algorithms
The Engineering Design Process
Instructional Learning Cycle:
Introduction to Algorithms
UNIT 3 CHAPTER 1 LESSON 4 Using Simple Commands.
Sumobot Challenge Sumobot Challenge Activity > TeachEngineering.org
What Is Engineering? What Is Design?
Lecture 24 Logistics Last lecture Today HW7 due today
Navigating a Maze.
An Introduction to VEX IQ Programming with Modkit
Maze Challenge Maze Challenge activity > TeachEngineering.org
What Is Engineering? What Is Design?
Flowcharting & Algorithms
Lecture 21 Logistics Last lecture Today HW7 due Wednesday
Unit 3 lesson 2-5 The Need For Algorithms- Creativity in Algorithms – Simple Commands - Functions Day 18.
ICT Gaming Lesson 2.
Lecture 24 Logistics Last lecture Today HW7 due today
Using Waits, Loops and Switches
Procedural Text 5.13 A – Interpret details from a procedural text to complete a task, solve a problem, or perform procedures.
UNDERSTAND THE CHALLENGE
Computational Thinking
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Basic Concepts of Algorithm
1.2 The Engineer Design Process
Getting started with LEGO EV3 Mindstorms software
Presentation transcript:

Navigating a Maze

Navigating a Maze Pre-Quiz What is the difference between a program and an algorithm? About how many inches does an NXT move in one motor rotation? How many rotations do you need for a 90o turn? Center for Computational Neurobiology, University of Missouri

Navigating a Maze Pre-Quiz Answers What is the difference between a program and an algorithm? A program is a sequence of instructions written to direct a computer to perform a task. It is specific to the computer. On the other hand, an algorithm is a clear and specific procedure for solving a problem in a finite number of steps, and it is general to any task. For example, the “addition algorithm” is a procedure for how to add together any two numbers. About how many inches does an NXT move in one motor rotation? An NXT taskbot moves about 7 inches in one rotation. How many rotations do you need for a 90o turn? A 90o turn is about 0.5 rotations with the steering pointer pulled all the way in one direction. Center for Computational Neurobiology, University of Missouri

Activity: Navigating a Maze Do This: Program the robot to complete the maze (on the right using only the rotation sensor. start end 3 ft 1.5 ft 2 ft 45o )

How Do You Develop a Computer Program? (As we saw in the previous lesson) a program is a sequence of logical instructions written to direct a computer to perform a task. Developing such instructions involves careful thinking! So, we are creating something that does not exist. In engineering, such a process is called “design.” In this case, we are “designing” a program to do a particular task. The engineering design process involves certain well-defined steps. What do you think is the first step? The first step is to come up with what you want the computer program to do! Define the problem. Understand the need. Once you know what you want the program to do, we need a method to do it. Let’s look more closely at the engineering design cycle, which tells us how.

Engineering Design Cycle: How Engineers Design For engineers, the design process is a series of steps that helps teams frame and solve complex problems. Anyone can do it! To figure out how to build something, engineering teams gather information and conduct research to understand the needs and challenges to be addressed. So, in a design cycle, the steps are done in this sequence but often repeated because it may not work, or you want to improve the design! More details on the next slide. 

Engineering Design Cycle: How Engineers Design An alternate but equivalent way to look at the engineering design process. Usually, engineers must go through many iterations before a successful solution is achieved. Center for Computational Neurobiology, University of Missouri

Activity: Navigating a Maze start end 3 ft 1.5 ft 2 ft 45o Your Design Challenge: Program the robot to complete the maze on the right  using only the rotation sensor. Things to keep in mind: If 1 rotation ≈ 7 inches, how many rotations are needed to make the robot go 3 ft? 1.5 ft? 2 ft? If 0.5 rotations is the duration for a 90o turn, what duration is needed for a 135o turn?

Programming Activity Answer Note: Keep in mind that the values for durations shown in the solution are approximate and may need to be adjusted for each robot. 1 2 3 Center for Computational Neurobiology, University of Missouri

Programming Activity Answer 4 5 6 7

Navigating a Maze Post-Quiz What is the difference between a program and an algorithm? About how many inches does an NXT move in one motor rotation? How many rotations do you need for a 90o turn? Center for Computational Neurobiology, University of Missouri

Navigating a Maze Post-Quiz Answers What is the difference between a program and an algorithm? A program is a sequence of instructions written to direct a computer to perform a task. It is specific to the computer. On the other hand, an algorithm is a clear and specific procedure for solving a problem in a finite number of steps, and it is general to any task. For example, the “addition algorithm” is a procedure for how to add together any two numbers. About how many inches does an NXT move in one motor rotation? An NXT taskbot moves about 7 inches in one rotation. How many rotations do you need for a 90o turn? A 90o turn is about 0.5 rotations with the steering pointer pulled all the way in one direction. Center for Computational Neurobiology, University of Missouri

Vocabulary algorithm: A clear and specific procedure for solving a problem in a finite number of steps. brainstorming: Thinking of ideas as a group. engineering: Creating new solutions and new things. engineering design process: A series of steps used by engineering teams to guide them as they develop new solutions and new things. iteration: Doing something again, especially with the intent to make improvements. program: A sequence of instructions written to direct a computer to perform a task. Center for Computational Neurobiology, University of Missouri

Images Sources Slide 1: Maze lost sign; source: Lake County, FL: http://www.lakecountyfl.gov/hometown_highlights/cornfield_maze.aspx Slide 4: standing on maze graphic; source: Maine State Library: http://www.maine.gov/msl/libs/ce/mentor/ Slide 6: engineering design process 6 steps diagram and text; source: eGFI: http://teachers.egfi- k12.org/design-process/ and NASA http://www.nasa.gov/audience/foreducators/plantgrowth/reference/Eng_Design_5-12.html Slide 7: improve/iterate EDP steps detail; source: Museum of Science, Boston: http://www.mos.org/doc/1559 Diagrams and screen captures by author