VB.NET object for Wowwee's Rovio

Electronics Computer Programming Q&A
Post Reply
Sidekick
Posts: 1
Joined: Tue Jan 27, 2009 5:22 am
Contact:

VB.NET object for Wowwee's Rovio

Post by Sidekick »

Hello Everyone!

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)
Some RovioWrap will do soon:
  • 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)
A test program called RovioController is available to show you how to use it:
  • 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
Some of the VB.NET code was adapted from C++ or C code from various sources, so I've made some modifications from the original code to fit into the VB.NET framework. Feel free to modify, post, criticize, or give props. And if you have any good code you want in the object, feel free to post or send it to me and I'll give the appropriate credit for it.

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/
Post Reply

Who is online

Users browsing this forum: No registered users and 57 guests