Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ujs

Pages: 1 ... 7 8 9
121
Wiimote Interactive Whiteboard / Re: Calibration
« on: February 12, 2008, 06:16:14 PM »
Doing the calibration has nothing to do with defining a plane, it's about perspective transformation.

It takes exactly 4 points to get the perspective transformation from one quadrilateral (4 points Wiimote sees) to the other quadrilateral (4 points of screen). Accuracy wouldn't improve just by taking more points. An improvement could be to do the calibration with the 4 "outmost" points of the screen, since you get a better "description" of the quadrilateral.

That's my understanding on the subject, I could be wrong about that since I'm not expert.
http://en.wikipedia.org/wiki/Quadrilateral

Uwe



122
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 12, 2008, 01:17:29 PM »
Thanks anyway to the dev(s ?). Keep up the good work.

You're welcome  :)
I'm currently working on an updated version. Details can be found at my site.
It would be great if someone could make an (Mac OS X) icon for the program...


Uwe

123
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 11, 2008, 09:52:09 AM »
Hi
i just played around with this on my MBP. Unfortunately the sensing range is very limited (reliably working when wiimote is within 10 CM from the IR source). I wonder why this is so? My IR pen was working well under the windows version (johnny lee'sWiimote Multipoint Grid programme) at which time my wiimote was placed several meters away.

My software is just using the data that it gets from the Wiimote (indirectly through Java Blutetooth library and WiiRemoteJ). It is a strange problem, although I don't think it's related to my software since I just use a very high-level abstraction of the Wiimote (via WiiRemoteJ).
It might be an issue with the MBP's Bluetooth module, another user had a problem with that...

I could not get it to compile via xcode (3 errors were produced using Xcode Version 2.4.1), however I did run the .jar from both command line and finder and did not notice a difference. Let me know if i can help in any way. I would love to see this working well.

I use Eclipse for development and have no experience at all with Java development in XCode.
Did you add the BlueCove and WiiRemoteJ libraries to the Java classpath?

Uwe

124
thanks but I'll be waiting for the mac version...

You can have a look at my Java version (developed on Mac) if you want:
http://www.wiimoteproject.com/java-version-developed-under-mac-os-x-t361.0.html

Uwe

125
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 09, 2008, 07:16:01 AM »
Note that both were running latest 10.4, and I used a Kensington BT stick, the same one in both machines.  I don't know if that matters.

I guess the problem is the 3rd party Bluetooth stick because the BlueCove Java Bluetooth library may not be able to deal with it.

And Java 5 is at least required to run the program, but you said both were latest 10.4 systems...


Uwe

126
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 08, 2008, 07:53:26 PM »
You apparently need the "right" combination of bluetooth dongle and bluetooth stack to get it to work on Windows.
Try running it from the command line, I'm pretty sure you'll see an error message...


Uwe

127
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 08, 2008, 06:59:08 PM »
I'm going to try this on an older G4 iMac, but I hear that the G4 version of OSX Tiger has bluetooth problems, like pairing is problematic the second time or something.  I'll let you know how it works out.

Like I wrote on my website:
Quote
Note for Mac OS X PowerPC (PPC) users: you will have to delete the Wii Remote from your previous devices list in System Preferences->Bluetooth->Devices after each connection (every time you connect a given Wii Remote). Even then, the outgoing connection will still fail every other time. There is some sort of bug relating to HCI devices and Apple's library. Luckily, it was fixed for the Intel Macs.

I can affirm that. I had the exact problem when I tested the program on my PowerPc Mac Mini.

Uwe

128
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 06, 2008, 08:39:43 AM »
An ordinary flashlight.... with an IR bulb, I'm assuming?

No, it is a regular filament lamp. Most (all?) of those lamps are also emitting infrared light.
But the accuracy for the Whiteboard program is poor, since I have a a rather big spot of light.
And you might noticed that I had to hold the lamp in a certain angle so that that screen reflected enough light back to the Wiimote.

Uwe

129
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 06, 2008, 05:43:00 AM »
My initial testing shows that if I run it from XCode, I can see an IR source.  If I run it straight from the JAR file, I cannot.  I'm not sure how to interpret that. 

Do you see any Exception when you run the JAR file from the command line?
How do you run it from XCode? Did you create a Java project, added the library files (BlueCove and WiiRemoteJ) and compiled it yourself?
I never used XCode for Java coding...

Im using the Bluesoleil stack, it was the default stack with my adapter.

I also tried with BlueSoleil. My problem might be related to BlueSoleil's version or my Bluetooth dongle.
When I try to run it, I get an error like "Not supported on BlueSoleil" from BlueCove.


I don't even have an IR pen yet, so I'm using an ordinary flashlight.

Uwe

130
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 05, 2008, 08:05:34 PM »
Ive been messing with your program on Mac and PC. I have it working well on both. On both XP and Leopard, it's more receptive and sensitive than the original wiimote whiteboard. I have yet to find any major flaws in it. Good work.
Since you havent gotten it to work on pc, if you want me to check anything or elaborate, just let me know

Great to hear that! Which Bluetooth stack do use on Windows XP?

I too don't seem to be able to register a source (I don't have an IR pen yet, but I've used a flame in the past for testing in Windows).  It connects fine and gets a battery reading, but no dots or any sort of recognition that it is seeing IR.  Thoughts?

I sometimes have the same problem, seems to be a Bluetooth connectivity issue. Try to restart the program and see if it works. If it doesn't work for a couple times in a row then it might be another problem.

By the way - you rock for porting this to Java - I work with Java IRL and will be happy to add on to it!

Thanks! I thought there is a need for a Mac version, especially educators could use the program in classrooms. I actually don't have any need for a Whiteboard application. I just like to play around with technology ;)


Btw, I added a quick demo video to the page (http://www.uweschmidt.org/wiimote-whiteboard).
Quality is poor, but it should serve its purpose...

Uwe

131
Wiimote Interactive Whiteboard / Re: Java Version, developed under Mac OS X
« on: February 05, 2008, 02:35:12 PM »
Quote
I didn't know I had to put the WiiRemoteJ and BlueCove jar files in Extensions, but once I got that figured out, it paired and loaded fine.
WiiRemoteJ and BlueCove are bundled with the program (inside the WiimoteWhiteboard.jar), so it should work without putting those 2 files in the Extensions-folder.

Quote
1. I can not check the Cursor Control box.  Maybe this is on purpose, because you're trying it out or something.  I don't know.
You can only check the Cursor Control box after successful calibration or when a calibration file was found at startup and has been loaded.

Quote
. It is not sensitive enough for some reason. It can't read the LED when I draw on the whiteboard, it doesn't even see the IR dots.  When I aim the LED back at the WiiMote, it can see it, but not well, and it doesn't receive a steady signal.
Can you elaborate on that? I didn't have an issue with that, but I only tested with a flashlight since I don't even have an IR pen yet.

Quote
I know this is OSX-specific because I rebooted into Boot Camp and it works like a champ.  The WiiMote is in the same place and everything.
Did you run the original or my Whiteboard-program under Windows? I couldn't get my program to work under Windows...

Quote
Good things:
1. It seems to work on the main monitor only on a dual-monitor setup.  Maybe that's just the way it's supposed to work (it's the same way in Windows), but that's the way I like it.
I just use the default screen. I guess it wouldn't be too hard to list all available screen and to select the one you want to use.

Quote
2. It's finally going to happen on OSX!  I've been waiting for this since I first heard about it.
That's the main reason I wrote it :D

Quote
3. It's in Java, which I have been meaning to learn about anyway. My little brother is bigtime into Java so he can help me learn to program again (it's been about 15 years, and that was in BASIC).
The program is relatively short (about 400 lines of code in a single Class).
Especially all the perspective transformation is entirely handled by an existing Java class :D

Quote
If there's anything specific you want me to try or look in to, let me know.
Spread the word so that I can get feedback from people trying it on various platforms.

Uwe

132
Wiimote Interactive Whiteboard / Java Version, developed under Mac OS X
« on: February 04, 2008, 08:02:36 PM »
Hi, I did a rewrite of the program in Java which can be found here: http://www.uweschmidt.org/wiimote-whiteboard
It should work out of the box under Mac OS X Tiger on an Intel Mac (at least that's my development environment).
Haven't tested any other platforms hence feedback is highly appreciated. Tell me what you think...

Uwe

133
Wiimote Interactive Whiteboard / Re: Mac Source Code Request
« on: February 04, 2008, 07:44:42 PM »
Hi, I did a rewrite of the program in Java which can be found here: http://www.uweschmidt.org/wiimote-whiteboard
It should work out of the box under Mac OS X Tiger on an Intel Mac (at least that's my development environment).
Haven't tested any other platforms hence feedback is highly appreciated. Tell me what you think...

Uwe

134
Wiimote Interactive Whiteboard / Re: Math behind Projection / Rectification
« on: February 04, 2008, 04:24:53 PM »
Hi,

you can save yourself the work to do that all manually in Java.
Just can use the class PerspectiveTransform from JAI.

The method getQuadToQuad creates a PerspectiveTransform. Then you just have to use one of the transform-methods to convert from one perspective to the other.

http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/PerspectiveTransform.html

Uwe

Pages: 1 ... 7 8 9