Difference between revisions of "Meet the Scribbler Robot"

From IPRE Wiki
Jump to: navigation, search
Line 1: Line 1:
 
=== '''Chapter 1: Hello Scribbie!''' ===
 
=== '''Chapter 1: Hello Scribbie!''' ===
 
 
'''Objectives'''
+
'''Things You Will Learn'''
 
<UL TYPE=DISC>
 
<UL TYPE=DISC>
<LI> Install the software.
+
<LI> How to install the software.
<LI> Name your robot.
+
<LI> How to name your robot.
<LI> Move your robot!
+
<LI> How to move your robot.
 
</UL>
 
</UL>
 
<br>
 
<br>
  
 
'''The Scribbler – Your Robot!''' <br>
 
'''The Scribbler – Your Robot!''' <br>
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. :o)
+
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.  
 
<br>
 
<br>
 
<br>Today you will set up your robot, name it and learn how to control it with a virtual joystick.
 
<br>Today you will set up your robot, name it and learn how to control it with a virtual joystick.
Line 16: Line 16:
 
<br>
 
<br>
 
'''Get Set...Go!''' <br>
 
'''Get Set...Go!''' <br>
Make sure the gamepad is plugged in. Every time you work with your robot, first type in:
+
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. <br>
 +
<br>
 +
In order to start working with your robot, you will need to type the following into the IDLE window:
  
 
<pre>
 
<pre>
Line 38: Line 40:
 
'''Move your robot!'''<br>
 
'''Move your robot!'''<br>
  
Your next command is:
+
The following command will allow you to use the gamepad to move your robot:
  
 
<pre>
 
<pre>
Line 44: Line 46:
 
</pre>
 
</pre>
  
**need to add**
+
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! <br>
 
+
 
<br>
 
<br>
  
 
'''Activity: Scribbie’s Mission to Outer Space'''
 
'''Activity: Scribbie’s Mission to Outer Space'''
'''Background on life on Mars.'''
 
 
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)<br>
 
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)<br>
 
<br>
 
<br>
Line 56: Line 56:
 
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! <br>
 
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! <br>
 
<br>
 
<br>
Use your gamepad to steer your way through the solar system, locate the right planet, and press the right button to take a photo. Take a look at your photo to see if Scribbie’s friend is on that planet by typing:
+
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.
 
<br>
 
<br>
<pre>
 
>>> show()
 
</pre>
 
 
<br>
 
<br>
 
Good luck! :o)  
 
Good luck! :o)  

Revision as of 04:17, 24 February 2008

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.

Get Set...Go!
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:

>>> setName("Scribbie")

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:

>>> gamepad()

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)

CREU Project Home.