This tutorial is divided into two sections selected on the left. The "Essentials" are things every NXT programmer should know. Some of these movies have exercises directly under them. It's important to do these exercises, not just assume you "get it."
One of the tutorials within the Lego Mindstorms NXT Software shows how to program a robot that follows a line using Boolean Logic. In the following, an improved version, based on Fuzzy-Logic, is presented. Although a little bit more complex, the program is still implemented using NXT-G Code.
First....What
is torque?:
Torque is a twisting force- (it doesn't do any 'work' itself- it
is simple an application of energy).
Work (or 'stuff') happens, when torque is applied and movement occurs.