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.

Slides:



Advertisements
Similar presentations
EducateNXT The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach.
Advertisements

Forward Until Dark. NXT Light Sensors How does the Light Sensor detect brightness? The Light Sensor shines a red light on the surface below it and reports.
EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner.
Introductory Presentation
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Guard Robot Project.
Right Face Introductory Presentation. Opening Activity How can you use this to make a right turn program? This is your program from Full Speed Ahead to.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
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.
Introduction to LEGO NXT 6 hour course. Introductions You Your Expectations.
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.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Unit 5 – “Watch Out!”. Introduction New Topics Case Structures New Functions Less? Comparison Function Ultrasonic Sensor.
Smart Plant Robot Prepared by Haya De’bas Jumanah Salhab Supervisor Dr. Ra’ed Al-Qadi.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
EducateNXT Robot Sumo The robot gains intelligence.
Programming a light sensor to follow a black line.
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.
7.2 V battery pack and charger Put the battery in the charger station at the end of the lab. period. Red light indicates charging. Ken Youssefi Introduction.
Obstacle Detection Introductory Presentation. Opening Activity If you were blindfolded, what senses would you use to find things in the room?
Elegant avoiding of obstacle Young Joon Kim MSRDS First Beginner Course – STEP5.
Real-Time Data through Data Hubs. Begin by adding a basic Move block, 5 rotations 75% power.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Sentry System Multiple Sensors
3 | Touch sensors Created by H. Robinson & A. Gostelow TOUCH SENSORS.
Forward Until Sound Program
Clap On, Clap Off Introductory Presentation. Opening Activity What is a sensor? Can you give examples? ?
Find the Mindstorms Icon on the computer.. To start a new program click go.
BEGINNER EV3 PROGRAMMING Lesson
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
1 ©2006 INSciTE Common Blocks. 2 ©2006 INSciTE Common Blocks Common blocks are full featured actions Like English statements Move Wait for an action Display.
IMDL Presentation by Li. Park Ranger Subtitle Park Ranger Block Diagram Mega 2560 Arduino Tmp Sensor Humidity Sensor XBEE LCD Buzzer LaptopGUI Motor.
How to make a Line Follow program Using EV3 software and an NXT light sensor.
Vex Robotics program three: using motors and sensors together.
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.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
Forward Until Near Stop when near a wall.
The Corridor Challenge
By Sanjay and Arvind Seshan
By Sanjay and Arvind Seshan
Using tools and the ‘Wait’ Block
Introduction To Programming with LEGO NXT 2
IMDL Presentation by Li Yang.
DT-Assessment Frame Work Term2
Introductory Presentation
Module F: Presentation Understanding Robot Fundamentals
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Introductory Presentation
Obstacle Detection Ultrasonic Sensor.
Introductory Presentation
Introductory Presentation
Sensors and Logic Switches
Loops with Multiple Sensor Controls
Forward Until Touch Robot goes forward until it hits a wall.
Holyoke Codes LEGO ROBOTICS
Line Following Behavior
Switch Blocks check a value and choose a path based on that value
Repeating Behaviors.
Automation and Programming
Line Following Behavior
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Introductory Presentation
Obstacle Detection.
Obstacle Detection.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Lego MINDSTORMS EV3.
Presentation transcript:

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 after it moves forward not all the time.

The robot should move if nothing is in the way and stop if there is checking constantly for obstacles.

Obstacle Detection Program Using a Switch Block

How the Ultrasonic Switch Block Works

The Sensor Value is greater than the switches compared value. The distance is above the threshold. The object is far from the robot.

How the Ultrasonic Switch Block Works The Sensor Value is less than the switches compared value. The distance is below the threshold. The object is near the robot.

Ultrasonic Sensor Block Details

Stop Motors Block Details

Move Forward Motor Block Details

Loop Block Details

Drag the Switch Block Into the Loop Block

Stop Motors After 4 Rotations

Test the robot to see if it keeps moving as long as nothing is in the way and stops if there is. Try placing the object in front of the robot at different times during the program to make sure the robot is checking constantly for obstacles.