XML Feeds

.

[jitter] [OT] Headtracking with wiimote

yair reshef yair99 at gmail.com
Tue Jan 8 15:54:51 MST 2008


i to have been following the progress of this ingenious hack, the nice thing
about the wii built in camera is that all tracking is done on-board -similar
to the more powerfully trackir cam- only the blobs coordinates and id get
sent over bluetooth. fast and frees the cpu.
i previously did sort of this stuff using the unibrain, following a remark
by jean m. months ago,  which has some benefits (you choose the lens, you
can use the grab for other purposes. but for 30~$, 60fps and up to 4 blobs
tracking.
it cant be beat.
side note. shame there is no windows port for aka.wiimote. pieglove is the
only option i know of which uses osc, any other windows users?
this is a basic 2dot tracking script for pieglove>max over udp
****************************
/*
You can read the position of the infra-red dots that the Wiimote can see
with:
wiimote.dot1x, wiimote.dot1y
…
wiimote.dot4x, wiimote.dot4y
You can tell whether an infra-red dot can be seen with Wiimote.dot1vis  to
Wiimote.dot4vis
You can tell the size of a dot (between 0 and 15) with Wiimote.dot1size to
Wiimote.dot4size
The size will always be reported as 16 if your script uses the Nunchuk or
Classic Controller,
because the report needs to contain more information.
*/
Osc.IP = "localhost"
Osc.Port = 7000
if wiimote.dot1vis and wiimote.dot2vis then
  SendOsc(Osc.IP, Osc.Port, "/wiimote/dot1", int(wiimote.dot1x), int(
wiimote.dot1y));
  SendOsc(Osc.IP, Osc.Port, "/wiimote/dot2", int(wiimote.dot2x), int(
wiimote.dot2y));
endif

if Wiimote.dot3vis > 0 then
  SendOsc(Osc.IP, Osc.Port, "/wiimote/dot3", int(wiimote.dot3x), int(
wiimote.dot3y));
endif
if Wiimote.dot4vis > 0 then
  SendOsc(Osc.IP, Osc.Port, "/wiimote/dot4", int(wiimote.dot4x), int(
wiimote.dot4y));
endif
***************************
btw.
it always makes me smack my head when i have a gizmo sitting for months (in
the case of my pc, years) on my desk when i realize i failed to squeeze its
full potential.

On Jan 9, 2008 12:34 AM, Dark Ambient <sambient at gmail.com> wrote:

> on a related note check out the top story here:
> http://hackawii.com/
> http://hackawii.com/cynergy-labs-project-maestro-uses-a-wiimote-for-screen-control/#more-177
>
>
> They used Johnny's idea and mention him.
>
>
> On Jan 8, 2008 3:23 PM, Brecht Debackere <brecht at autofasurer.net> wrote:
>
> > For all those out there using their wiimote with jitter, check out
> > this guys' projects...specially the headtracking is really cool.
> >
> > http://www.cs.cmu.edu/~johnny/projects/wii/
> > <http://www.cs.cmu.edu/%7Ejohnny/projects/wii/>
> >
> > grtz.
> > _______________________________________________
> > jitter mailing list
> > jitter at cycling74.com
> > http://www.cycling74.com/mailman/listinfo/jitter
> >
>
>
>
> --
> http://en.wikipedia.org/wiki/Dark_ambient
> _______________________________________________
> jitter mailing list
> jitter at cycling74.com
> http://www.cycling74.com/mailman/listinfo/jitter
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cycling74.com/pipermail/jitter/attachments/20080109/5d2933b5/attachment.htm


More information about the jitter mailing list