[PDF] [PDF] Line Followers: Basic to Proportional - WordPresscom

2015 EV3Lessons com, Last edit 4/5/2015 3 Which Program Works Best for Which Situation? Smooth Line Follower • Almost the same as simple • Turns are  



Previous PDF Next PDF





[PDF] Line Followers: Basic to PID - EV3 Lessons

Evaluate and compare different line followers ⬈ Prerequisites: Complete all Line Follower lessons on EV3Lessons com, Calibration ⬈ Videos will not play in 



[PDF] BASIC LINE FOLLOWER - EV3 Lessons

Learn how to get a robot to follow a line using Colour Mode how a line follower works and how a human and a robot follow a followers on EV3Lessons com



[PDF] PID Line Follower - EV3 Lessons

10 juil 2019 · 2015 EV3Lessons com, Last edit 02/10/2017 2 Moving across line → turn right ⬈Looks at past history of line follower ⬈Sum of past error



[PDF] Line Followers: Basic to Proportional - STEMRobotics

2015 EV3Lessons com, Last edit 4/5/2015 Smooth Line Follower • Almost the same as simple • Turns are less sharp • Has trouble on sharp curves • Good for  



[PDF] Written Directions for EV3 Line Follow (Heaviside - NeboMusic

Written Directions for EV3 Line Follow (Heaviside Algorithm) Description: Given a black line and the light sensor on the EV3 robot, we want to have the light 



[PDF] Line Followers: Basic to Proportional - WordPresscom

2015 EV3Lessons com, Last edit 4/5/2015 3 Which Program Works Best for Which Situation? Smooth Line Follower • Almost the same as simple • Turns are  



[PDF] CRANE MISSION TIPS & TRICKS - FLL Tutorials

It moves both motors at once and they are synchronized The same block is used again after the line follower ends Where can I learn more? EV3Lessons



[PDF] https://makecodemindstormscom/ - Through The Classroom Door

tribot_build http://ev3lessons com/en/RobotDesigns html Many ideas http:// www fllcasts com/materials/466-sterling-a-lego-ev3-line-following-robot RoboCup 



[PDF] LEGO Mindstorms EV3 Programming Basics - Washington Secretary

to the next block in line and so on configuration and decipher what makes it a right edge line following program? EV3Lessons com – by Droids Robotics

[PDF] evaluate definition algebra

[PDF] evaluate definition english

[PDF] evaluate definition in reading

[PDF] evaluate definition in writing

[PDF] evaluate definition literature

[PDF] evaluate definition science

[PDF] evaluate definition synonyms

[PDF] evaluate solution example

[PDF] evaluate solution in maths

[PDF] evaluate solution meaning

[PDF] evaluate solution performance

[PDF] evaluate solution pltw

[PDF] evaluate the following integral in spherical coordinates.

[PDF] evaluate the integral by changing to spherical coordinates

[PDF] evaluate the integral by changing to spherical coordinates.

ADVANCED EV3

PROGRAMMING LESSON

Line Followers: Basic to Proportional

By Sanjay and Arvind Seshan

ÒEvaluate and compare different line followers

ÒLearn to use the concept of ͞proportional" to create a proportional line follower ÒPrerequisites: Basic Line Follower, Color Line Follower, Color Sensor Calibration, Proportional Control, Math Blocks, Data Wires

© 2015 EV3Lessons.com, Last edit 4/5/20152

Lesson Objectives

© 2015 EV3Lessons.com, Last edit 4/5/20153

Which Program Works Best for Which

Situation?

Smooth Line Follower

Almost the same as simple

Turns are less sharp

Has trouble on sharp curves

Good for rookie teams AEneed to know

loops and switches

Simple Line Follower

Most basic line follower

Wiggles a lot due to sharp turns

Good for rookie teams AEneed to

know loops and switches

Proportional Follower

Uses the ͞P" in PID

Makes proportional turns

Works well on both straight and curved

lines

Good for intermediate to advanced

teams AEneed to know math blocks and data wires

3-Stage Follower

Best for straight lines

Droids do not recommend this.

Just learn the proportional line

follower.

Need to know nested switches

Watch the videos on the next 2 slides to see all four.

© 2015 EV3Lessons.com, Last edit 4/5/20154

Curved Line: Watch Videos

Smooth Line FollowerSimple Line Follower

Proportional Follower3-Stage Follower

Straight Line: Watch Videos

© 2015 EV3Lessons.com, Last edit 4/5/20155

Smooth Line FollowerSimple Line Follower

Proportional Follower3-Stage Follower

ÒChallenge 1: Can you write a simple line follower? Hint: Review

Beginner: Basic Line Follower lesson

ÒChallenge 2: Can you write a smoother line follower? Hint: Change how sharp the turns are in a simple line follower. ÒChallenge 3: Can you write a three-stage line follower where the robot moves different 3 different ways (left, right or straight) based on the reading from the color sensor?

© 2015 EV3Lessons.com, Last edit 4/5/20156

3 Line Follower Challenges

ÒCALIBRATE:

ÒThe programs use the EV3 Color Sensor in Light Sensor mode

ÒYou will have to calibrate your sensors.

ÒPlease refer to Intermediate: Color Sensor Calibration Lesson

ÒPORTS:

ÒThe Color Sensor is connected to Port 3.

ÒPlease change this for your robot.

ÒWHICH SIDE OF THE LINE:

ÒPlease take note of which side of the line the code is written for

© 2015 EV3Lessons.com, Last edit 4/5/20157

A Note About Our Solutions

Solution 1: Simple Line Follower

© 2015 EV3Lessons.com, Last edit 4/5/20158

Solution 2: Smooth Line Follower

© 2015 EV3Lessons.com, Last edit 4/5/20159

Solution 3: Three-Stage Line Follower

© 2015 EV3Lessons.com, Last edit 4/5/201510

Challenge 4: Can you write a proportional line follower that changes the angle of the turn depending on how far away from the line the robot is?

Pseudocode:

1.Reset the Rotation sensor (Only required for line following for a total distance)

2.Compute the error = Distance from line = (Light sensor reading -Target Reading)

3.Scale the error to determine a correction amount. Adjust your scaling factor to make you robot follow the line more smoothly.

4.Use the Correction ǀalue (computer in Step 3) to adjust the robot's turn towards the line.

© 2015 EV3Lessons.com, Last edit 4/5/201511

Challenge 4: Proportional Line Follower

Solution: Proportional Line Follower

© 2015 EV3Lessons.com, Last edit 4/5/201512

ÒYou will get better results

© 2015 EV3Lessons.com, Last edit 4/5/201513

Tips

© 2015 EV3Lessons.com, Last edit 4/5/201514

Discussion Guide

Smooth Line Follower

Simple Line Follower

Proportional Follower

Three-Stage Line Follower

Fill in the above with positives and negatives of each technique. Consider if the line follower is best for curved or straight lines. Consider if the robot will wiggle a lot. ÒThis tutorial was created by Sanjay Seshanand Arvind Seshan

ÒMore lessons at www.ev3lessons.com

© 2015 EV3Lessons.com, Last edit 4/5/201515

Credits

This work is licensed under aCreative Commons Attribution- NonCommercial-ShareAlike4.0 International License.quotesdbs_dbs20.pdfusesText_26