Wednesday, January 28, 2009

Lego mindstorms NXT-G Programming Guide

I read the first two chapters of Lego mindstorms NXT-G Programming Guide.
This guide book tells me how the robots work, and more advanced programming.

In first two chapters, it was about what makes a robot a robot, and not a toaster.
Why is program structure important?
What are the steps the book suggest for you to follow if you are going to write a program?

First of all, a robot is not a toaster, because a robot is able to S.P.A (Sense, Plan, Action)
A robot is able to move and complete a task by itself, and without human's hand.
Which is significant difference with a toaster.

However, a robot most needs a program in order to move and do task. Programming is really important for the robot, or the robot will not know what to do.
The structure of the programming also has to be detailed, clean, and organized, then finally the robot will move perfectly.

Last of all, the book tells readers a suggestion to follow, when we are writing a program.

  1. Write a pseudo code
  2. Transfer it to the NXT-G program

1 comment:

  1. like the way how you explain the two chapters and summarised it I also like the way how you eplain what is the diffrence between a robot and a toaster. like the way you explain program structure.

    ReplyDelete