[Documentation] [TitleIndex] [WordIndex

Try it

Before diving into nxt and ROS make sure that you can communicate with your brick by running a simple test.

Start a roscore in a new terminal:

Then run one or both of the following tests in another terminal:

Touch sensor, plug the touch sensor into PORT1 and run the following code. It will display the current state of the touch sensor.

Color sensor,plug the color sensor into PORT1 and run the following code. It will cycle the LED colors and display the intensity then the color detected.

Your computer is not configured correctly or the brick is off if you see:

Next step

Now check out our starter robots in nxt_robots.

Or, find tutorials and more documentation in nxt.


2024-11-16 12:59