WiiTracker is a very simple application that tracks the position of a Wii remote based on the accelerometer readings and draws it on the screen. I wrote Wiitracker as an demonstration to be used in a series of vocational conferences I will be giving in the recently opened Planetarium of Havana about the uses of sensors in space exploration.
Wiitracker is written in Python taking advantage of the cwiid library, which stands for C Wii-remote driver and has a very convenient Python interface.
You can download Wiitracker here. Note that you will need to install the cwiid driver and possibly the Glade python bindings for the application to run. You will need to set the address of your particular Wii remote in the Preferences dialog before the application can correctly paired with your remote. You can use the lswm
command, which is part of the cwiid distribution, to find out the address.
Please wny curiosity about the code, it is available in GitHub.
Please write me an e-mail with comments if you try it. I would like to know hoy it works for other people.