Software Resource

FLL NXT NavigationHere is a very handy tool that helps you calculate distance and motor rotationDownload the files from http://fllnxtnavigation.codeplex.com/Project DescriptionFLL NXT Navigation is a program that lets you draw lines on a scale image of the FLL (First Lego League) competition board. Each
line you draw is a robot path and it gives you the distance of each
line in rotations and the angles of each turn in rotations.

Create NXT file from Navigation

Calibration

Ordinary move blocks will not take values in centimeters or inches, only
motor rotations, seconds, degrees, or infinite. Using centimeters would
be so much easier, don't you think? read the following blog and design your own move MyBlock.

Other
suggestions recommended by readers are to design the block to read in
turning radius too, having a "MyBlock that allows you to pass in the
number
of degrees you want your robot to pivot about its center point (this is
dependent on the wheels your robot uses, right?)
If your wheel size (radius or diameter) is a constant in your program,
you would only need to dynamically account for one passed variable (the
desired number of degrees to pivot in place).
HINT: CIRCUMFERENCE = 2 * Pi * RADIUS"

Note: Make sure you
initialize the Power variable with a non-zero value (like 50). and the
Distance variable with a non-zero value (like 20), otherwise, the robot
will just sit there and not move.