Saturday, January 3, 2009

Wiigee on linux

Wiigee is a wiimote library written in Java that can learn and identify gestures. A demo application is available for download, and source is included in the jar file.

I have used wiigee under linux (ubuntu i386 and Kubuntu x64), and this is what I had to do to get it running.

First, to get it running, download the the bluecove libraries (I used version 2.1.0), and maven2.
Make sure libbluetooth and libbluetooth-dev are installed (and libstdc++.so.6 is linked too libstdc++.so on Kubuntu)

The bluecove MicroeditionConnector.java needs to have the L2CAP validation removed (apparently the wii mote uses non-standard ports)

export the JAVA_HOME variable (if its not alerady set), and execute:
mvn -Dmaven.test.skip=true -e
That will generate all the bluetooth libraries

Make the bluecove, and bluecove-gpl jars, and the libbluecove native binary lib avaiable to the wiigee library, and you're set.

No comments:

Post a Comment