Meet the Scribbler Robot
Chapter 1: Hello Scribbie!
Things You Will Learn
- How to install the software.
- How to name your robot.
- How to move your robot.
The Scribbler – Your Robot!
The picture on the right is the scribbler! You will be working with one throughout this fun course. The scribbler can move, turn, speak, create simple tunes, draw shapes, avoid obstacles, and lots more.
Today you will set up your robot, name it and learn how to control it with a virtual joystick.
Make sure the gamepad is plugged in. Click on the Python icon on the desktop (ask your instructor if you need help finding it). It should be called either “Start Python.pyw” or “IDLE (Python GUI)” The window shown on the right will pop up.
In order to start working with your robot, you will need to type the following into the IDLE window:
>>> from myro import * >>> init()
This will allow you to use all the commands that your robot understands. A window will pop up and you will be required to enter a number. Ask your instructor how to find your number.
Name your robot!
First, think of a name! We decided to name our robot Scribbie. To set the name, type:
Make sure you write it exactly the way shown, i.e., capitalize N and put the name in quotation marks (You will find out why later).
Move your robot!
The following command will allow you to use the gamepad to move your robot:
The function of each button will show up on the IDLE window. The buttons are numbered as shown in the picture. Now you can move your robot!
Activity: Scribbie’s Mission to Outer Space
Mars is the most similar planet to Earth than any other planet in the solar system. They have the same axial rotation (the angle at which they rotate), the atmosphere is similar (compared to other planets) and there may be water on Mars. All this has led scientists to raise a very important question: is there life on Mars? Although some missions have been sent to Mars, scientists are yet to find evidence of life. (http://www.nasa.gov/vision/earth/environment/Sibling_Rivalry.html)
Now is your chance to do some investigations!
Scribbie has lost a friend and signals from outer space indicate that she is stuck on one of the planets. Scribbie has chosen your robot to find her. Congratulations! Make your way through the solar system to find Scribbie’s friend. When you find him, don’t forget to take a photo to provide evidence!
Use your gamepad to steer your way through the solar system, locate the right planet, and press the right button to take a photo. The photo will pop up on your computer screen.
Good luck! :o)