1 / 14

Line Following Behavior

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.

donthomas
Download Presentation

Line Following Behavior

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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

More Related