Wednesday, January 28, 2009

What is a Robot? What is a Program?

our homework over chinese new year was to read the first two chapters in our new Lego mindstorms NXT-G Programming guide. The main principles of the two chapters are how is a robot different from a toaster?, Why is program structure important? and what are the steps the book suggest for you to follow if you are going to write a program? A robot is different from a toaster because a robot moves and reacts on its own, something a toaster can not do. Program structure is important because if the orders for a robot are given in the wrong order or they are not detailed enough, the robot will not know what to do. Finally, the steps the book suggests we follow to write a program are
  1. write a pseudo code
  2. transfer it to the NXT-G program

1 comment:

  1. dude i agree with you 100% on this with the program structure i think its one of the most important things that your are going to need with programing anything.

    ReplyDelete