SAMS RoboLab Programs
These are all the programs and subvis used to perform the FLL 2003 Mission to Mars tasks. SAMS did not attempt the task that pushed the habitation modules together. They did have a program for the task, but did not have enough time. The tasks that SAMS performed took about 2:20, which only left ten seconds to spare.
One motor (A) powered the left rear wheels and another motor (C) powered the right rear wheels. The large front wheels were unpowered and ran on the white rims so they could slip when the robot turned. The third motor (B) raised or lowered an arm on the front of the robot.
Some of the programs require a special attachment to the arm. Those attachments are described below.
SAMS Robot wiring
| RCX Connection | Input or Output |
| A | left drive motor |
| B | arm motor |
| C | right drive motor |
| 1 | rotation sensor
connected to
left wheel's axle |
| 2 | left front light sensor
and
front touch sensor |
| 3 | right front light sensor
|
Slot #1: Get the Ice Cores or Drive into the Crater
Arm: A long arm with a hook at the end and a crossbar to keep the ice cores from dragging on the ground. The arm was removed after the mission.
Note: The touch sensor on the front of the robot was used to split this program (slot #1) into two modes of operation. A 2x2 angle was place over the touch sensor to run the "Into the Crater" mode. Because the touch sensor and a light sensor were stacked on input port #2, the test for the touch sensor used the a light sensor fork command. A value greater than 70 indicates that the touch sensor is pushed.