On the main table, program the shamrock and windmill to move using the RCX at SENSORSCITY at Marshall University.
The programs can be run from any where.
On the top level, program an NXT robot to move around.
On the Submit mission page be sure to run the correct program and click
the correct platform.
Send programs to SENSORSCITY.
- See
Instructions-
Click this
link for the directory with Example programs to use at SENSORSCITY.
Click and save a file that ends in .vi to your
computer to use to send a mission.
The RoboLab Programs are the files that end in .vi and
the .jpg are pictures of the programs.
Note: A car goes between the Lamp on
port A which is across from the light sensor on port 1.
Monorail motor is on port B and touch sensors on
both ends of the track are on port 2.
Port C changes each month.
Port 3 is a light sensor facing the flag stand.
(See
the color challenge.)
Below is an example of the data you will get back.
The red line dips at each time the car passes in front of light
sensor on port 1.
The blue line steps up each time the touch sensor at an end of the
monorail was touched.
The yellow line is the data back from the light sensor.
Color
Challenge
See if you can tell what color is in front of the light sensor when
the program stops.
Look at the camera
http://legocamera.marshall.edu
then look at your data to see if
you are right.
Data that is returned when you run a program to the NXT vehicle shows
distance to objects in front on the yellow data,
lines on the floor on the red data, and the touch sensor is the
blue data.
The NXT vehicle can be watched through the camera on the Red Rover.
http://lego.Marshall.edu
To see the camera refresh faster use Red
Rover as an Earth site.
Various parts of the CITY also operate when you run programs through
Red Rover.
Watch http://legocamera.marshall.edu
to see the rover move at the top of the picture
and to see what the Red Rover programs do.
|