Author Topic: Possible to use 2 wiimotes?  (Read 28412 times)

Offline RiXtEr

  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Reply #15 on: March 13, 2008, 08:14:11 AM
I haven't had time to learn enough c# to make it work yet, but the file up above just needs the code for the calibration on the second wiimote the code to make them work together. The battery meter, detection, and ui all are ready.



Offline TeacherDen

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reply #16 on: April 12, 2008, 04:42:14 AM
Hello my name is Kim, I'm a teacher in Denmark and have used this wonderful tech for a few weeks now, unfortunately as other have expressed as well is that dual use of Wiimote to cover lost sight when students come up or even myself is quite needed, I made this simple picture to show what is needed.



Now if someone is blocking the green sensor the red sensor can now cover up for it, and vice versa.
This would make this application just about as good as it gets, so I eagerly anticipate you guys progress on this, as I'm not fortunate enough to be skilled in programming language to do so myself :-)

Best of luck!



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #17 on: April 12, 2008, 05:58:46 AM
I'm currently adding this feature to my java whiteboard app.
I will be considering two cases:

1. Using multiple Wiimotes for redundancy (each Wiimotes sees the whole screen)
2. Using multiple Wiimote to cover a large screen (each Wiimote can only see part of the screen)

I just started this but got a prototype working for case 1 with two Wiimotes.
I haven't released anything yet.

Uwe
« Last Edit: April 12, 2008, 06:00:26 AM by ujs »

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
Reply #18 on: April 12, 2008, 11:53:50 AM
I have seen the 2 wiimote setup on youtube

both wiimotes stuck on top corners of a whiteboard

(the 3d tracking posibly...)



Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #19 on: April 13, 2008, 10:54:13 AM
I have seen the 2 wiimote setup on youtube

both wiimotes stuck on top corners of a whiteboard

(the 3d tracking posibly...)

I won't do 3D tracking in my whiteboard app because I think it requires too much inital setup for the average user.
I consider the "3D whiteboard" somewhat experimental. I might do that sometime in the future, but it's not planned for now.

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline taitrt

  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Reply #20 on: April 13, 2008, 04:02:09 PM
I'm currently adding this feature to my java whiteboard app.
I will be considering two cases:

1. Using multiple Wiimotes for redundancy (each Wiimotes sees the whole screen)
2. Using multiple Wiimote to cover a large screen (each Wiimote can only see part of the screen)

I just started this but got a prototype working for case 1 with two Wiimotes.
I haven't released anything yet.

Uwe

Awesome! Let us know when it gets released! Thanks!



Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #21 on: April 13, 2008, 10:49:34 PM
Hello my name is Kim, I'm a teacher in Denmark and have used this wonderful tech for a few weeks now, unfortunately as other have expressed as well is that dual use of Wiimote to cover lost sight when students come up or even myself is quite needed, I made this simple picture to show what is needed.

Now if someone is blocking the green sensor the red sensor can now cover up for it, and vice versa.
This would make this application just about as good as it gets, so I eagerly anticipate you guys progress on this, as I'm not fortunate enough to be skilled in programming language to do so myself :-)

Best of luck!
Multiple Wiimotes support is available in Linux Whiteboard. If you are a Ubuntu Linux user, you can download a Live CD and test it off without having to install Linux to your system.

Currently all connected Wiimotes should see the whole whiteboard. Even if most Wiimotes are blocked, Whiteboard still can utilize the IR signals from the remaining ones.
I thought about letting users to decide the coverage area some time ago, but it turned out to be either:

 * Impractical: The covered areas will not be divided as evenly as your drawing. In typical scenarios: one Wiimote will see a small corner of the board, another will see a big portion of the board, but they will not cover the whole board eventually.
 * Complicated to calibrate for normal users: They'd need to draw the coverage area by themselves, that involves some guessing because one will not know how much of the white board a Wiimote sees. Or the app will divide the board by some fixed ratios (like your drawing): We are back to the first reason, it needs more than 2 Wiimotes to cover the whole screen.


Anyway, I'd like to be proven wrong. Hope we'll see something coming out from Java Whiteboard.
« Last Edit: April 13, 2008, 10:52:02 PM by fnf »

Download Linux Whiteboard from Linux Whiteboard homepage


Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #22 on: May 17, 2008, 09:29:29 AM
Anyway, I'd like to be proven wrong. Hope we'll see something coming out from Java Whiteboard.

Hi, I released the new version of my software couple days ago.
I made a video today that includes demonstration of the calibration: http://youtube.com/watch?v=xmdLubEhTYw

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline UndCon

  • Support Admin
  • *
  • Posts: 566
  • Karma: +11/-3
    • View Profile
    • UndCon
Reply #23 on: May 17, 2008, 11:43:37 AM
That is  a nice video - well done!



Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #24 on: May 17, 2008, 02:14:27 PM
That is  a nice video - well done!

Nice to see support for more than one Wiimotes, it worked well on my Macbook =) . Although I probably have missed something, since the original question is about having multiple Wiimotes covering arbitrary parts of the screen. Java Whiteboard insisted all Wiimotes to see the whole screen instead.

Is there plan for supporting multiple Wiimotes?.

[Edit]: I might have made a mistake: Just tested it with one Wiimote. Perhaps the screen will be divided in half when the 2nd Wiimote is connected, correct?.
« Last Edit: May 17, 2008, 02:16:55 PM by fnf »

Download Linux Whiteboard from Linux Whiteboard homepage


Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #25 on: May 17, 2008, 06:42:54 PM
Nice to see support for more than one Wiimotes, it worked well on my Macbook =) . Although I probably have missed something, since the original question is about having multiple Wiimotes covering arbitrary parts of the screen. Java Whiteboard insisted all Wiimotes to see the whole screen instead.

Is there plan for supporting multiple Wiimotes?.

[Edit]: I might have made a mistake: Just tested it with one Wiimote. Perhaps the screen will be divided in half when the 2nd Wiimote is connected, correct?.

Java Whiteboard insisted all Wiimotes to see the whole screen. For the calibration, all Wiimotes should see the screen as best as possible.
Excerpt from my help files:
Quote from: WiimoteWhiteboard Help
Select the screen you want to use in the Calibration-section. You can click the button "Calibrate" or press the A button of a connected Wiimote to begin touch calibration. Use your IR light pen (or any other source of infrared light) to touch each crosshair and activate the LED (as if pressing your mouse button to click). After 4 points are calibrated, the touch screen should be ready to use if you're using only one Wiimote or all connected Wiimotes "saw" those 4 points.
During calibration you'll either see a checkmark or warning triangle for each connected Wiimote at all previous calibration points. They give you feedback whether a Wiimote saw the point or not. In case not all connected Wiimotes saw all 4 points, the calibration will continue until each Wiimote sees at least one fourth of the screen. All Wiimotes together must also "cover" the entire screen. The whole procedure sounds more complicated than it actually is.

The calibration will basically ask for more points (up to 9 => 3 x 3 grid) if both Wiimotes don't see the whole screen.
Maybe that clarifies things a bit, I guess it wasn't that clear in the video.

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #26 on: May 18, 2008, 04:50:47 AM
That makes sense.

I have a suggestion: What about supporting multiple Wiimotes and dividing the screen smaller and smaller?. This would partly solve the problem of user having to draw the coverage area.

Although some people have asked for a way to use the Wiimote for a portion of the screen. In which case, I'm thinking about adding a coverage area test (which yours already has, just needs some modifications) to aid drawing of the area during calibration. This is most flexible, but the most laborious. I'm not sure how many percentage of users will bother.

Download Linux Whiteboard from Linux Whiteboard homepage


Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #27 on: May 19, 2008, 05:24:27 AM
I have a suggestion: What about supporting multiple Wiimotes and dividing the screen smaller and smaller?. This would partly solve the problem of user having to draw the coverage area.

That's basically what I'm doing, but I stop at 9 calibration points. If one of the Wiimotes didn't see all first 4 points, then the calibration will ask for more points until each Wiimote sees at least one rectangle (any size) of the calibration grid (see attached image); and all of those "rectangles" cover the whole calibration grid. The calibration can hence stop after 4, 6, 8, or 9 points.
The user doesn't have to do draw the coverage area.

Although some people have asked for a way to use the Wiimote for a portion of the screen. In which case, I'm thinking about adding a coverage area test (which yours already has, just needs some modifications) to aid drawing of the area during calibration. This is most flexible, but the most laborious. I'm not sure how many percentage of users will bother.

I don't really understand this...

Uwe

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.


Offline fnf

  • *
  • Posts: 70
  • Karma: +2/-0
    • View Profile
Reply #28 on: May 19, 2008, 05:54:53 AM
Although some people have asked for a way to use the Wiimote for a portion of the screen. In which case, I'm thinking about adding a coverage area test (which yours already has, just needs some modifications) to aid drawing of the area during calibration. This is most flexible, but the most laborious. I'm not sure how many percentage of users will bother.

I don't really understand this...

Some users wanted to control only parts of the screen: The projected screen was too high and they couldn't reach the top, they wanted to do it anyway since most toolbars and the drawing area -that was a drawing program- rest in the lower parts of the screen.

In which case Whiteboard doesn't need to see the whole screen, just the parts that the user being interested in.

I agree though, that may not worth it. Personally I'd be quite content with what I have in Linux Whiteboard now. Surely if the Wiimotes can see half of the screen, it wouldn't be hard to adjust the angles so they'll see the whole screen, would it?.

Download Linux Whiteboard from Linux Whiteboard homepage


Offline ujs

  • *
  • Posts: 134
  • Karma: +10/-0
    • View Profile
    • uweschmidt.org
Reply #29 on: May 19, 2008, 07:03:14 AM
Some users wanted to control only parts of the screen: The projected screen was too high and they couldn't reach the top, they wanted to do it anyway since most toolbars and the drawing area -that was a drawing program- rest in the lower parts of the screen.

In which case Whiteboard doesn't need to see the whole screen, just the parts that the user being interested in.

I agree though, that may not worth it.

Ok, now I understand. This problem could either be solved by "skipping" the calibration points that are too high, or by changing the order in which points are calibrated (from bottom to top, user chooses when to stop).
I'd vote for the skipping approach, since it wouldn't change the calibration process for current users and it's actually easier to implement for me.
And of course, I had to take the check out whether the whole screen is covered by the Wiimotes. It guess it could be done without much work, but none of my users requested it so far...

Personally I'd be quite content with what I have in Linux Whiteboard now. Surely if the Wiimotes can see half of the screen, it wouldn't be hard to adjust the angles so they'll see the whole screen, would it?.

I've actually never used your Linux Whiteboard. I need to set up some other machine here with Windows and Linux for testing purposes...
One of my users requested the feature to use multiple Wiimotes to cover the screen for a (in my opinion) valid reason.
His screen is large, so he had to put the Wiimote far away. But then his IR pen wasn't bright enough to be picked up by the Wiimote's IR camera.
He wanted to use 2 Wiimotes (closer to the screen), each covering about half of the screen.
See this post for details.

Uwe
« Last Edit: June 20, 2008, 04:14:22 AM by ujs »

Java WiimoteWhiteboard for Mac OS X, Windows and Linux.