Building Line Following and Food Following Robots

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

Right and Left Turns.
Boe-Bot Challenge. Advanced Users (those who have used Boe-Bots in Digital Electronics) There are suggested activities / programs for each challenge.
Navigating the BOE-BOT
Using the NXT Light Sensor. 2 Connect One Light Sensor – 1 From My Files use Left / Right NXT buttons and get to View menu and push Orange button. From.
Nawwaf Kharma.  Programming as Problem Solving with Applied Algorithms  Algorithm Design as Instruction selection, configuration and sequencing  The.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
CC467 Biologically inspired robotics Introduction to Lego Mindstorms Owen Holland Computer Science University of Essex.
Building Line Following and Food Following Robots.
IAT 800 Braitenberg Vehicles. Oct 31, Fall 2006IAT 8002 Outline  Braitenberg vehicles –Concept behind vehicles –Introduce several vehicles –Look through.
Analysis vs. Design When you take a test in your math or physics course, there is one and only one answer! When you do a goal-driven design there may be:
Efficient Path Determining Robot RIT Computer Engineering Senior Design Project Jamie Greenberg Jason Torre October 26, 2004 A motorized robot will navigate.
Objectives SOL: The student will demonstrate an understanding of basic vehicle operating procedures. Objectives: *The student will utilize basic procedures.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
EDGE AVOIDER ROBOT USING I-BOT mini V3. EDGE AVOIDER USING I-BOT mini V3 Edge Avoider Robot is built using the IR based Line Detecting Module. The modules.
LINE FOLLOWER ROBOT USING I-BOT mini V3
Line-Follower Challenge. 1. How does a light sensor work? Does the light sensor detect white or black as a higher amount of light reflectivity? Absorbance?
“LEGO MINDSTORMS Education” Rocío Buenaventura Mendieta Informática Avanzada Ing. Juan Calderón C.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Scanning and.
Reactive robots UPNA The Public University of Navarra Material for pupils & students.
Introducing Cubelets What do they do?
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
This presentation is intended to offer a set of activity cards, which are ideal for introducing the Robolab. The cards cover a range of basic skills, that.
 The image that the digital camera sensor captures is based on the light reflected or emitted from a subject and how much the sensor is exposed to that.
Technical Writing for Robotic Coding!.  du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals.
Sentry System Multiple Sensors
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Find the Mindstorms Icon on the computer.. To start a new program click go.
SKILLS. Key Skills Components Passing- Run straight, Ball in two hands, Look at the receiver, Pass ball at chest height, follow thru, Arms/hands pointed.
HBRC A-Mazing Challenge Line Maze, Phase I, II, III.
Oregon Robotics Tournament and Outreach Program RCX Basics.
Lesson 1: Motors and Sound Programming Solutions.
CS 5973 – Intro to Intell Robots Project 1 – Sensing and Movement Group 4 Justin Fuller Matthew Lawrence Rahul Kotmaraju.
LCC 6310 Computation as an Expressive Medium Lecture 11.
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.
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.
RoverBot Assembly The following pages show assembly plans for the RoverBot using the Consumer MindStorms or School Team Challenge Lego kit. Assemble the.
Advanced issues in Robotics and Programming Dr. Katerina G. Hadjifotinou Experimental Junior High School of the University of Macedonia.
PRESENTATION ON Line follower robot.
Line-Follower Challenge
INTERMEDIATE PROGRAMMING LESSON
Deriving Consistency from LEGOs
8/30/2004 RoverBot Assembly The following pages show assembly plans for the RoverBot using the Consumer MindStorms or School Team Challenge Lego kit. Assemble.
Understanding Communication with a Robot? Activity (60 minutes)
Braitenberg’s Vehicles
HBRC A-Mazing Line Maze Challenge
Braitenberg’s Vehicles
Programming Part 2 Mod Kit
Lecture 23 Logistics Last lecture Today HW7 due Friday Lab8 going on
Girl Scout Lego Robotics Workshop
INTERMEDIATE PROGRAMMING LESSON
Better Line Following with PID
An Introduction to VEX IQ Programming with Modkit
Beginner Programming Lesson
Line Following Behavior
Storing Values as Variables
Lecture 24 Logistics Last lecture Today HW7 due today
Lecture 23 Logistics Last lecture Today HW7 due Friday Lab8 going on
Cubes Orthographic projections One and Two-point Perspective
INTERMEDIATE PROGRAMMING LESSON
Which way does the robot have to turn to get to the charger?
The programming page of the Brick
Lecture 24 Logistics Last lecture Today HW7 due today
X y y = x2 - 3x Solutions of y = x2 - 3x y x –1 5 –2 –3 6 y = x2-3x.
lesson 2.3 ROADWAY MARKINGS
Lego MINDSTORMS EV3.
Oregon Robotics Tournament and Outreach Program
Getting started with LEGO EV3 Mindstorms software
Lecture 19 A bigger FSM example: Hungry Robot Ant in Maze.
Presentation transcript:

Building Line Following and Food Following Robots

A simple robot Some of the simplest robots are called Braitenberg Machines (Braitenberg Vehicles, Braitenberg Faces).

Back to basics A suitable vehicle needs the following: - a left motor (LM) - a right motor (RM) - a left sensor (LS) - a right sensor (LR)

Back to basics A suitable program needs the following: - a way of driving each motor as a function of the reading on the sensor on the opposite side

Back to basics And the environment needs to ensure that the change in sensory inputs produced by the movement of the vehicle leads to some interesting and obviously useful behaviour… …with a simple performance measure so that we can have a competition

Constraints All vehicles will have to be run in exactly the same environment The only suitable sensors are light sensors

Consider the termite

How termites work Termites (and many other trail-following insects) follow trails by sensing concentrations of special chemicals (pheromones) using their antennae.

How termites work They use a technique called osmotropotaxis. Roughly speaking, their left legs go at a speed controlled by the strength of the sensory input to their right antenna, their right legs go at a speed controlled by the strength of the input to their left antenna… In other words, they operate just like little Braitenberg vehicles, and this enables them to follow trails.

Could we make visible trails on the ground, and sense them with light sensors? Yes…there are some trails on the floor of the arena…

But surely… …if the trail is either black or white, won’t the sensors only ever give maximum or minimum readings? No, because the sensor takes in reflected light from an area, not a point. If the area is wholly inside the black region, you’ll get the minimum reading (with some noise) And if it’s wholly inside the white region, you’ll get the maximum reading (with some noise)

But surely… …if the trail is either black or white, won’t the sensors only ever give maximum or minimum readings? No, because the sensor takes in reflected light from an area, not a point. If the area contains both black and white regions – if the sensor is somewhere on the borderline – then the reading will be somewhere in between the minimum and maximum (again, with some noise)

A basic strategy If we space the sensors so that they are separated by just less than the width of the trail, then when both sensors read the minimum, we know we must be on the trail… …and so moving forwards is a good idea

A basic strategy If the sensor on the left reads the maximum, and the sensor on the right reads the minimum, we know we’re moving off the trail to the left… …so turning right is a good idea

A basic strategy If the sensor on the right reads the maximum, and the sensor on the left reads the minimum, we know we’re moving off the trail to the right… …so turning left is a good idea

A basic strategy And if both sensors read the maximum, you know you’ve completely lost it Of course, you could devise some cunning way to get back on the trail (termites do)…

But… What if one or both sensors give a reading somewhere in between? The quick and dirty solution: keep on doing whatever you were doing – it won’t last The elegant solution: you can produce one if you want, but it won’t make any difference…

The performance measure We can break this into two stages: (1) How far down the trail you get (2) If you make it to the end, how long it took

First, catch your robot You can make whatever you like, but since time is so short I recommend that you use a version of the Trusty robot Described in Jonathan Knudsen’s “The Unofficial Guide to Lego Mindstorms Robots”