Presentation is loading. Please wait.

Presentation is loading. Please wait.

Line Following Behavior

Similar presentations


Presentation on theme: "Line Following Behavior"— Presentation transcript:

1 Line Following Behavior

2 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.

3 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).

4 Line Following Program

5 Switch Block Details

6 Light Surface Motor C Swing Turn Details

7 Light Surface Motor B Swing Turn Details

8 Dark Surface Motor C Swing Turn Details

9 Dark Surface Motor B Swing Turn Details

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

11 Test the Robots Line Following Behavior.

12 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 .

13 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?

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


Download ppt "Line Following Behavior"

Similar presentations


Ads by Google