I have uploaded a fun program called RSMEdia Copybot for you to try at your Christmas break.
Sopme of you may remember and old video (somewhere on youtube?) where someone was standing in front of an RSMedia and as they raised each of their hands then RSMedia would copy them?.
Well I have managed to make this work for RSMedia for you all to try .
I called the program “Copybot”.
You can down load it from the Downloads area (when its approved).
You can also get iot from the RSMDevkit site on source forge. (See here)
See the README.HTML file with the download for instructions how to install and run it.
**Make sure you are in control mode when you run it**
Once it is running you will see this screen:
(The top icon is meant to be RSMedia Eyes, The second is a button and the third is the RSM remote - sorry the pics dont look to good in the photo - they should look better in real life!!. )
- The top row shows the data from the IR sensors
It can show the letters “C R M L”
When R is showing the robot is detecting something on his right side.
When L is showing the robot is detecting something on his left side.
When M is shown the robot is detecting something in the middle.
(Usually it has to be quite close & low and the object has to be quite reflective)
When C is shown the robot is detecting something very close.
(Usually a hand or something right in front of his face)
- The last line of the LCD will show “Copybot On” when he is in copying mode.
Press the Select key on the remote to turn “Copybot” mode on and off.
- Press the ‘Z’ remote key to exit (and return to the normal Wowwee control mode)
Other information shown on the screen:
- The second row will show which button is pressed on the robot.
(His hand buttons work, but the feet buttons don’t always work properly)
- The third row will show what buttons are pressed on the remote.
(Most buttons work OK, but combinations of the L and R button on the side and top buttons aren’t yet decoded. The right pad arrow buttons will still move his head.)
So once you have it setup and running I suggest to turn “Copybot” mode off by pressing Select then have a bit of a practice with your hands to find the best positions and movements.
I found the best way is to put him on a table, sit at the table, put both arms straight out. Your arms should be just under his eye height. Put your hands up like making a stop signal. Both L& R letters should be shown. Now drop your left hand flat and hopefully the L will disappear. Repeat with your right.
You want to practice making the L & R symbols appear and disappear as you move your hands or arms. After a litte experimenting you should find a strategy and position that lets you make the L & R appear at will.
Now press the Select key again (LCD should show “Copybot is On”) and you should now be able to make the robot copy your arm movement, put you arms/hands up and he will do the same!! Have fun.
See the README.HTML for more instructions/notes/hints.
The source for the copybot program is in RSMediaDevkit sourceforge svn. (You will need to get the directory /src_robot/copybot directory to see the code. You will also need /src_robot/include and /src_robot/lib if you want to compile it.)
It didnt seem possible todo this using Wowwee’s available bodycon or scripting capabilities. So I pulled togther some smaller programs I wrote in the past to make one program that sits on top of the linux OS but replaces all of Wowwees ‘Robot specific’ programs. My program listens to the raw data from the robot board, decodes the data (which includes InfaRed events, sound events, remote and robot keys), and draws to the LCD screen. The "copybot" part of the program is actually quite small - it simply monitors the IR data changes and sends linux commands to move the arms when needed.
So by reusing the main parts of this program it should be possible to add bits of code todo all ALL sorts of other stuff. Basically I hope this will become a whole new programmable brain for RSMedia. I will post another thread about it soon that explains it more and the source code further (but maybe not until after Christmas now…..)