1 / 11

Robotics

Robotics. Switch block variant. Record/Play. Timer. Present building project proposals Homework: Postings. Plan projects. Switch block. IF/ELSE Case statement Number Text Can set the default condition. Note: tabs. Current one is third. Switch block. Value of Type Number.

Download Presentation

Robotics

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. Robotics Switch block variant. Record/Play. Timer. Present building project proposals Homework: Postings. Plan projects.

  2. Switch block • IF/ELSE • Case statement • Number • Text • Can set the default condition

  3. Note: tabs.Current one is third Switch block Value of TypeNumber * Button marks default Tabbed, Not flat view

  4. Applications • Decide among 3 or more conditions rather than using nested logical tests • ?

  5. Timer • 3 timers are available • Must be reset. • Output can be • Logical result of comparison • The unit for the trigger is seconds! • Elapsed time since reset • The unit for reading is milliseconds

  6. Convert to text & combine to say Time is Read out the time Reset timer 2 Display & then wait

  7. Original blocks vs minis • Timer example: one motor move and one display

  8. Record/Play • Can record motion of the motors • Stores information on the NXT for playback

  9. Note • This is teach/playback: useful when action is NOT governed by sensors • Not easy to move robot motors ‘by hand’ • Motors difficult to synchronize so playback is jiggly.. • May be more useful for jointed motion? • See on-line discussion

  10. Building projects • Presentations

  11. Homework • [continue to] plan building projects • Postings • News articles • Comments on library presentations • Comments on building projects

More Related