For the NXT:
The vehicle has motors on port A and port C.
There is a light sensor on port 1, touch sensor on port 2 and Ultrasonic
(NXT Distance) sensor on Port 3.
The Light sensor points down. There are dark lines on the ground.
The touch sensor is on the back. The data counts the number of bumps.
The Ultrasonic sensor is in the front.