Monday, April 27, 2009

From the reading of Chapter 11, I learned about loop block. Loop block allows the user to repeat the action of robot, without any complex program. Just put the actions (which the user wants) into the loop block. Then the loop block will make the robot the run the program for certain (decided) amount of time. The user has four choices for the loop block. The user can make the robot to run the program for forever, for until some kind of sense, for certain amount of time, for logic, and for count. The user can easily change the loop block's option, and also to run it. At the end of the Chapter 11, the book talks about the nested loop. It allows the user to loop something then have the program do something else then repeat all of it again.

From the reading of Chapter 12, I learned about switch block. The user uses the switch block, when the user wants the robot to do certain action, when there is something, and do another action, where there is not something. Which means, that the robot will have two option depend on whether it senses something or not. Moreover, the switch block allows the robot to do more than two different actions depend on situation. It is useful, as it makes the robot to move various ways, and be more lively.

No comments:

Post a Comment