Monday, December 8, 2014

Today we will extend our lesson to discuss the Wait For block in the NXT-G LEGO programming software. This command block is used to wait for a condition to be true and then allows the NXT-G program to continue to the next block in the sequence. Please open the CMU Robotics Engineering Vol 1 course on the desktop!

Let's review what I asked you to look at yesterday: (Questions 1-
1) How do you set the rotation sensor to make the robot move 720 degrees?
(This was worded poorly. I should have said how to we write a program to use the "wait for" block to wait until the built-in rotational sensor moves 720 degrees?)

2) What do you set the Wait for block to if you want the robot to move forward 3 seconds?

3) What are the motor blocks set to in the example for 3 seconds?

4) What are the settings for the Wait for block set to under Sensors: Wait for touch?

5) What are the settings for the Wait for block set to under Sensors: Wait for sound?

6) What blocks are used to stop the robot? What are the settings on the blocks?


****************************************************************
7) What blocks are used in the "swing turn Left" behavior program?What does each one do?




8) How is the "swing turn Right" program different?

9) What blocks are used in the "point turn Left" behavior program?What does each one do?


10) What is the difference between the point turn and the swing turn?




No comments:

Post a Comment