Line Following Behavior

Slides:



Advertisements
Similar presentations
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.
Advertisements

Follow The Guidelines Introductory Presentation. Opening Activity Make a prediction about how light sensors will use thresholds. Keep in mind: We used.
Wait, sound sensor >70, Port 2 Flowchart – Heartbeat 1 Start Motor A, Move Backward, 1/3 Rotation, Power 20 Wait, 1 Second Sound Sensor (Port 2) Less than.
Automation and Robotics
Photos and Sensor Instructions
EducateNXT Line Following With One Light Sensor. EducateNXT Attach a light sensor To attach a light sensor to the EduBot, refer to pages of the.
Available at: – Program Optical Quad Encoders in Autonomous Mode Program optical quad encoders in autonomous mode.
An Intro to Robots and Computer Programming
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.
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.
Flowol subroutines Subroutines are used to:  Simplify your code to make it easier to read (or for someone.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
Twyla and Jordan.  Light over black line  Runs roverbot.
EducateNXT Robot Sumo The robot gains intelligence.
Programming a light sensor to follow a black line.
Build a track for the ‘train’ to go back and forth across. It should switch directions after a set amount of time.
2 3  A machine  Built to help us  Autonomous (not remote control)  If we want robots to do things for us, we have.
Technical Writing for Robotic Coding!.  du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
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.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
Use the book to build and mount the light sensor on your robot. This will allow the robot to remain inside the blue square (fight ring) on the tile floor.
By Eric Greene RMS / I. S. 192 Q. Smart Start Question How would you get the robot to flirt with disaster by touching the edge of the “table” as many.
Photos and Sensor Instructions
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
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.
Automation and Robotics.  First you select the platform type so that you can use Natural Language PLTW.
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.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Introduction to Programming in RobotC
Follow The Guidelines.
By Sanjay and Arvind Seshan
Touch Sensor.
TESTBED ACADEMY Final Exam.
Programming Part 2 Mod Kit
RobotC Sensors.
INTERMEDIATE PROGRAMMING LESSON
Automation and Robotics
Beginner Programming Lesson
BEGINNER PROGRAMMING Lesson
Module F: Presentation Understanding Robot Fundamentals
BEGINNER EV3 PROGRAMMING Lesson
Sensors and Logic Switches
INTERMEDIATE PROGRAMMING LESSON
Better Line Following with PID
BEGINNER PROGRAMMING LESSON
Lesson 3 Sub-Routines.
Follow The Guidelines Light Sensor
Beginner Programming Lesson
INTERMEDIATE PROGRAMMING LESSON
Holyoke Codes LEGO ROBOTICS
Line Following Behavior
Introductory Presentation
Storing Values as Variables
BEGINNER PROGRAMMING LESSON
Beginner Programming Lesson
Introductory Presentation
BEGINNER PROGRAMMING Lesson
Repeating Behaviors.
SENSORS.
Which way does the robot have to turn to get to the charger?
Photos and Sensor Instructions
Introductory Presentation
Building Complex Behaviors: Actions and States
Obstacle Detection.
Lego MINDSTORMS EV3.
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Line Following Behavior

The robot moves forward always following the left edge of the line. The robot is on top of the line, the Light sensor see’s Dark which directs it to go left (and forward). If the robot continues this behavior it will drive off the line.

The robot continues to move forward following the left edge of the line. The robot is on the light area next to the line, the Light sensor see’s Light which directs it to go right (and forward).

Line Following Program

Switch Block Details

Light Surface Motor C Swing Turn Details

Light Surface Motor B Swing Turn Details

Dark Surface Motor C Swing Turn Details

Dark Surface Motor B Swing Turn Details

Loop Block Details Remember to drag the switch block inside the loop block

Test the Robots Line Following Behavior.

Making a Faster Line Tracker Changing the stopped motors to a lower power motor going forward still makes the robot swing but less abruptly creating a faster forward progress .

Curved Line Tracking Try the faster tracker line program, what happens to the tracker? Try the original tracer line program, what happens to the tracker?

Optimizing the Line Following Behavior for a Curved Line Different combinations of power levels yield better performance on different types of curves.