For those of you who like to hack toy robots, I created a VB.NET RovioWrap class that encapsulates much of the Rovio Ver 1.2 API.
You can check out the open source code at: http://www.codeplex.com/RovioWrap
Go to the "Source Code" tab and then "Browse" in the recent check ins. Feel free to use as you wish, just give credit where credit is due, like I did in the code.
Currently the RovioWrap class can do the following:
- Standard movement operations, head movement, light control
Get all status information, like head position, x, y coords, etc.
Get current camera image, change resolution
Play WAV files out your Rovio Speaker
Play TTS (Text to Speech) out of the Rovio Speaker
Stream microphone input from Rovio to computer (still tweaking this)
- Speech Recognition from the Rovio microphone
Record WAV file from Rovio microphone
Turn blue lights on/off (tips didn't work for me, but I implemented the code)
Adding capability to call LISP code (for use in established AI programs, like SNePS)
- Provides some code to interface with Matlab to process images (like edge detection). This works, but I disabled it. Feel free to install Matlab and reenable it, but you will need a Matlab script as well as a directory structure similar to mine.
Provides code on how to move, get status, get images
Enjoy, my fellow Rovioians!
---Sidekick [Go to http://www.codeplex.com/RovioWrap]
Join RoboSapienPet's cause, cause it takes to long to do anything without the source!
http://www.robocommunity.com/forum/thre ... urce-code/