What's fWIIne ?
"Functions for WIImote 'N for Engineering"
The aim of this project is to provide a workpackage of library / Specific Function for Engineering Software (and miscellaneous software, by the way)
First, Software developments are focusing on the fWIIne MEX library to perform communication between Wiimote and Matlab/Simulink.
What's fWIIne v0.1 ?
fWIIne v0.1 is an Open Source MEX-library . It enables communication between Wiimote and Matlab/Simulink. It has been designed for development, rapid-prototyping, and for educational and leisure purposes.
fWIIne v0.1 allows you to experiment your ideas with Matlab, quickly.
S-function sfwiine.m allows you to make modeling and "pseudo real time" simulation with acquisition of Wiimote data.
How to download ?
sourceforge.net/projects/fwiine project folder will be available, soon.
Binary files are temporary available @ : fWIIne_bin_v0.1_(2008-01-19).zip
How to use it ?
0. Pre-requisite :
-This program was tested on Windows XP SP2 (with WINDDK 3790.1830) and MATLAB 7.4 (up to 7.0) installed.
- You can follow several tutorials (1) (2) (3) to install the bluetooth driver.
- You need an second "wiimote" software to check if IR acquisition is working properly and to initialize configuration(as WiinRemote v2007 v1.13).
- You can extract zipped files into your Matlab Working directory.
1. You must first connect your wiimote to your PC via bluetooth before running
2. (skip this step if you don't use IR sensor) You must start WiinRemote and see IR sensors are active
Then you can close it.
3. Launch Matlab
4. Short test for data Acquisition from Matlab : test_fwiine.m
5. Pseudo real time acquisition with simulink and wiimote : fwiine_example.mdl
What to do with ?
First, I used the library to experiment Johnny Lee's proof of concept for tracking fingers :
And It worked well (Mmm,I will not publish the (too much) "quick and dirty" model...)
Next features :
- known issues to be solved : IR initialization, C S-function to enable RealTimeWorkshop simulation with fWIIne
- fWIIne for Scilab, Octave. Well, not planned yet.
- more simulink models
I hope fWIIne will accelerate your proof of concept and I hope you will be able to use it for educational purposes, too.