Presentation is loading. Please wait.

Presentation is loading. Please wait.

Robotics Switch block variant. Record/Play. Timer.

Similar presentations


Presentation on theme: "Robotics Switch block variant. Record/Play. Timer."— 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 Switch block Note: tabs. Current one is third Value of Type Number
* 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


Download ppt "Robotics Switch block variant. Record/Play. Timer."

Similar presentations


Ads by Google