AiboHack


YART Tutorial (includes YART_APG)


This is my short tutorial for using YART and YART_APG.
First install RCodePlus and YART as described in the main YART page.


'Dance when you hear your name'

If not already running, run the program "\CUSTOM\YART" on the memory stick.

Expand the "AIBO voice command" group and pick the first one ("'AIBO' or {dog's name}").

For the default personality, when AIBO hears the word "AIBO" or his registered name, he will perform this RCODE:
    PLAY ACTION KICK 30 1000
    WAIT

AIBO will kick his paw. The "WAIT" statement makes AIBO wait for the action to complete.

This is a rather poor default, so let's change it so he will Dance when he hears his name.

Editing Steps

You have now customized your first RCODE program by writing these two lines of RCODE. Let's save the results and try it out on AIBO.

Testing Steps

Well, those are the basics. Even in this simple form, there are a lot of things you can do with YART programs.


'Show Time'

Remove the memory stick from your AIBO (you don't need to press the chest button unless you recorded something with Name Registration).
Put the stick back into your PC. Run the "\CUSTOM\YART" program again.

This time we are going to do a little more complicated logic. Select the "AIBO voice commands" again, but this time pick 'Show Time'. The code window should be empty (there is nothing in the default personality). This is only an example, almost anything is possible. For this case, AIBO that will react to the phrase "Show Time" by peeing and karate chopping, then wait for you to press his head before taking a picture and laying down.

Save to memory stick and try it out (say "Show Time" to the dog a few times).
When you are done take out the memory stick from AIBO, and put it back in the PC. You can view any photos taken by looking at the "\PHOTOS" folder on the memory stick.


What next ?

Try it out! Go Crazy !
You can drag and drop other actions from the lower list to the code window. There are over 300 built-in system actions you can use. Browse the existing default personality and you will see many places to customize. It is very simple.


Simple Audio Personality - Adding Cartman's Voice


Currently the "User Action" category in YART is empty. Now we are going to add some custom audio files and create some "User Actions".
To help us get started, you can install some already formatted WAV files containg wisdom from Eric Cartman. Now run the "\CUSTOM\YART_APG" program on the memory stick.

First check to make sure the drive letter for the memory stick is correct (it should be). Next, change the "Audio Data Path" to point the Cartman samples ("C:\AIBO\MY_CARTMAN").

There are 11 .WAV files that we are going to add to the memory stick. Press the "Save To Stick" button. It should take a few seconds and eventually report "Memory Stick Update Complete" (if not please check the installation and the path you typed in)


Using those new User Actions

After YART_APG has saved the new actions, run the YART program again (\CUSTOM\YART). This time you can pick the "User Actions" category and see the new words AIBO can speak:

You can use these actions in response to any conditions just like you have done before.
Some suggestions: when you say "Cheer Up", have AIBO say "SUCKEDASS"
when you say "That's wrong", have AIBO say "BLACKASS"
when you say "Don't do that", have AIBO say "BUTMOM"
when you say "Sing a song", have AIBO say "STUPID"
when you say "I'm here", have AIBO say "COURTLOVE"
when he sees the Pink Ball, have AIBO say "CRAP"
(it is all up to you)


Adding your own .WAV files

TO BE WRITTEN.

This part of the tutorial will show how you can use CoolEdit to convert WAVE files you record yourself or find on the Internet to 8kHz, 8 bit mono .WAV files, and how you update the stick accordingly.
If you are already familiar with WAVE file editing, you can dive right in. Just make sure the files are in the correct format, and stored in the right folder before running YART_APG. YART_APG will warn you if the format is incorrect or the file names are improper (ie. no spaces or funny symbols in the file names). NOTE: you only have to re-run YART_APG if you change the .WAV files.