15-494/694 Cognitive Robotics: Lab 1

Learning Goal: This lab will familiarize you with the Tekkotsu user interface, called the ControllerGUI, and the Calliope2SP robot hardware.

Part I: Account Setup

You will only have to do this once.
  1. Log in to a lab workstation using your Andrew userid and password.

  2. Open a gnome-terminal by typing alt-control-T.

  3. Run the setup script by typing this command in your terminal window:
    $ ~/Class/utils/setup-account
  4. In your gnome-terminal, select Edit and then Profile Preferences. Click on Scrolling and select unlimited scrollback. Then click the Close button to save your change. Then edit Keyboard Shortcuts and turn off the top checkbox (for menu access keys), so that you can use Emacs-style commands (like alt-F) in the shell.

Part II: The ControllerGUI and the Mirage Simulator

  1. Start the Mirage simulator, the ControllerGUI, and Tekkotsu by following the steps on the Running Mirage page on the wiki, with one change. Instead of running tekkotsu-CALLIOPE in the first tab, you should run tekkotsu-CALLIOPE2SP.

  2. Explore the robot's user interface by following the steps in the Teleoperation Lab on the wiki. Skip the Preliminaries section and jump straight to Teleoperation. Don't do the Sensor Observer part; save that for running on the real robot.

Part III: Calliope2SP Hardware

Do this part in teams of 2 people.
  1. Read the web page on Create Controls and Indicators

  2. Skim the Calliope2SP Assembly Instructions on the wiki to learn how the robot is put together.

Part IV: Testing the Robot and Running the Sensor Observer

  1. Make sure the netbook is powered up. If not, turn it on and it will boot in about a minute.

  2. Unplug the charger from the Create. Tekkotsu will not be able to control the robot if the charger is plugged in. Then press the power button on the Create to power it up. The power LED will flash several times and the Create will make a short beep to indicate that it has powered up successfully.

  3. Turn the slide switch on the servo controller board to the "on" position; you'll hear a beep, and the white LED on the robot's head will illuminate.

  4. Run Tekkotsu on the robot:

    1. Find the robot's name by looking at the prompt on the netbook. The name will be something like "artsi-calliope4".

    2. On your workstation (not the netbook), type "ssh user@artsi-calliope4". The password will be given out in class.

    3. In the ssh window (talking to the robot), type "cd ~/project" and then "./tekkotsu-CALLIOPE2SP".

  5. Launch the ControllerGUI using "artis-calliope4" instead of "localhost".

  6. Use the ControllerGUI on the robot to drive the robot around.

  7. Read the Create sensors page at the Tekkotsu wiki.

  8. Do the Sensor Observer exercise in the Teleoperation Lab on the Tekkotsu wiki.

Part V: Powering Down

  1. Stop Tekkotsu by typing control-D or "quit" in the terminal window.

  2. Press the power button on the Create and the LEDs should all go out.

  3. Move the slide switch on the servo controller board back to the neutral position, shutting off servo power and extinguishing the system power light. (This is because we don't want to energize the robot's servos while it's on the charger.)

  4. You can leave the netbook powered up; make sure it is plugged in to its charger, then close the lid.

  5. Plug in the Create's charger cable.

Part VI: Troubleshooting