1 / 1

Define thresholds, Variables Sensors

Define thresholds, Variables Sensors. Task Main(). Set sensors. Start follow_line () ifEYE <=TOO_DARK off(LEFT); OnFwd (RIGHT ) else if EYE>=TOO_BRIGHT onFwd (LEFT);off(RIGHT). Touch Sensor tapped . Until Rotation Sensor == 26. Start follow_line (). Start task bucket().

huey
Download Presentation

Define thresholds, Variables Sensors

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. Define thresholds,VariablesSensors • Task Main() • Set sensors • Start follow_line()ifEYE<=TOO_DARKoff(LEFT); OnFwd(RIGHT)else if EYE>=TOO_BRIGHTonFwd(LEFT);off(RIGHT) • Touch Sensor tapped Until Rotation Sensor == 26 • Start follow_line() • Start task bucket() • Stop task follow_line;Start task Bumpandturn() • Stop all tasks When Green • OnFwd(RIGHT)off(LEFT) • Refind lineStart task follow_line()

More Related