Friday, May 18, 2007

NXTapeMeasure


ENTRY 7

I've been trying to focus more on the programming aspect of NXT robotics lately rather than construction. As you can see, this is most likely one of the simplest uses of the NXT hardware, but the programming was very complicated (at least for me at this stage in my development).

The NXTapeMeasure measures the length of an object by reading the degrees of rotation from the motor and then converting it to either inches or centimeters. No power is actually being sent to the motor.

To use NXTapeMeasure you simply place the wheels on a surface you wish to measure and roll them along said surface. While you're running the program, you can press the left arrow button to have NXTapeMeasure display in centimeters, or press the right arrow button to display in inches.

As always, you can download the NXC code from the Downloads section.

I would like to take this moment to thank John Hansen, "RCX-Inventor", "LM321", and "pEhrlich" for all of their help and advice during the coding/learning process of this program.

Thank you all,

- FuseUnison


-Quote of the Post-
The true meaning of life is to plant trees,
under whose shade you do not expect to sit.
~Nelson Henderson

No comments: