[PD] Wii remote controller and Mac OS X

Daniel Wilcox danomatika at gmail.com
Fri Mar 21 22:26:03 CET 2008


I use a wiimote in Linux using the cwiid api
<http://abstrakraft.org/cwiid/>in my device daemon that grabs joystick
and wiimote events and slings them
over OSC to pd.

The wiimote has a 3 axis acceleramator and sends the x, y, z positions and
you can easily calculate mean acc, roll, and pitch.

You can also access the ir camera.  The wiimote itself determines the spots
of light it sees and sends pixel postions aka (140, 100) relative to the
resolution on the camera which is about 200x200 if i remember correctly.

I have tested this with candles and you can mess with "virtual sliders" etc
by pointing it at a ir source, if you remove the black plastic cover, then
the camera pics up regular light sources such as incandescent blubs.

And of course, you get all the button events.


> Hans, do you know how many "control" signals this will produce? From what
> I read in the literature, it sounds like it also has motion controls. Does
> that mean that it has XYZ sensors? Or does it also have the pitch and yaw
> sensors as well? It sounds like a Wii has XYZ and pitch and yaw...
> Mike
>


-- 
Dan Wilcox
danomatika
www.robotcowboy.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080321/9dc53495/attachment.htm>


More information about the Pd-list mailing list