Welcome, Guest. Please login or register.
Did you miss your activation email?

Username: Password:


Pages: [1]   Go Down

Author Topic: Can't make a .urf file for PLEOrb  (Read 5542 times)

GreatestCaution

  • Leaving the nest
  • * Posts: 7
  • Male
Can't make a .urf file for PLEOrb
« on: May 21, 2012, 11:53:50 AM »

Hi to all!

Can't make a .urf  file for my PLEOrb.

I follow this instruccions:

We will be beginning with the Pleo Development Kit (PDK). Download this (http://e104.cogs.indiana.edu/
PleoDevelopmentKit.zip), unzip it, and open /examples/touch_test/sensors.p in a text editor (Applications/TextEdit).

A. Find where it says:
case SENSOR_BACK:
if (value == 0)
{
sound_play(snd_growl);
}

B. Compile the program to create the .urf file that will run on the robot.
        1. Open a terminal (Applications/Utilities/Terminal).
        2. Go to the “touch_test” directory we are working on. Use “cd” (change directory), thus:
            cd desktop/PDK/examples/touch_test
        3. Type this:
                ../build.sh touch_test
        4. This should create a folder /build, among other things, with a .urf file inside. Copy this .urf file onto a SD
            card.
        5. Insert this card into the robot (while closed). Turn the robot on, and test.
        4. The Pleo should now make the specified sound when the specified sensor is stimulated. Try this again with a
different sensor.


My console doesn't recognise the ".." like an external or internal command, program or archive for executable batch.

Can you help me please?

Thank you!
Logged


PleoPet

  • Pleontologist
  • * Posts: 162
  • Female
Re: Can't make a .urf file for PLEOrb
« Reply #1 on: May 22, 2012, 10:36:53 AM »

What operating system are you using?

Those instructions are written for a Mac.
The Mac Terminal/console program should run the "../build.sh" shell script.
  [note: use a forward slash, and no space between the ".." and the "/"]
If it is failing, please post the error message.

For Windows, from a command shell (from All Programs - Accessories - Command Prompt), type in:
   ..\build touch_test
   [note: use the backslash for Windows/MSDOS]

Logged

GreatestCaution

  • Leaving the nest
  • * Posts: 7
  • Male
Re: Can't make a .urf file for PLEOrb
« Reply #2 on: May 22, 2012, 02:40:55 PM »

Yeah! Thanks!

I discovered yesterday trying&trying, I found a PDF guide that explain the build options for each O.S.

Sorry about my ignorance, I have PLEO since yesterday only...jeje

Thank U equally!  ;D

P.D.: Yesterday I makde my sounds for a sensors response, now I try to make movement...hope... XD
Logged
Pages: [1]   Go Up
 

SimplePortal 2.3.5 © 2008-2012, SimplePortal