Sponsors of Wiimoteproject.com
IRGreat.com

Smoothboard

Wiimote Project » Forum » Wiimote Projects » Wiimote Interactive Whiteboard » Wiimote Smoothboard »  (Moderator: boonjin)Smoothing for Wiimote Whiteboard 0.2
Pages: [1] 2 3 ... 5
  Print  
Author Topic: Smoothing for Wiimote Whiteboard 0.2  (Read 19182 times)
0 Members and 1 Guest are viewing this topic.
Moderator
*****
Karma: +26/-0
Posts: 593
Offline Offline
Smoothboard Developer
View Profile WWW
« on: June 02, 2008, 10:35:33 PM »

I have released the Smoothboard software that is targeted at actual use in lessons and presentations with the focus of ease-of-use.

Smoothboard now comes with built-in annotation feature, quick access toolbar and more for all your interactive whiteboard needs.

Smoothboard can be downloaded from http://www.smoothboard.net



Following from benpaddlejones request,
http://www.wiimoteproject.com/project-ideas/mouse-smoothing-a-new-challenge-for-the-programmers-t1003.0.html
I have modified Johnny Lee's Wiimote Whiteboard 0.2 to incorporate the mouse smoothing effect. This feature enhances the smoothness when drawing with an infrared pen.

I have followed the method used in the Java version of Wiimote Whiteboard by averaging out the past values of the click coordinates.







Comparison of the original without smoothing with the new smoothing feature


Smoothing can be enabled/disabled and also the number of past points to average out can be chosen.

Update:
I have made the app to save the user settings for the smoothness so that the settings can be loaded in the next run. The settings are saved in calibration.bat.

Update on 7th June 2008:
Cursor control did not function in Vista 64bit.
I have followed the solution by takai which can be found here:
http://www.wiimoteproject.com/wiimote-whiteboard/vista-issues-with-mouse-control-in-wiimotewhiteboard-02-onwards-solved-t1026.0.html


Download source codes and executable here:
http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard

Note: I have developed a more functional version of the wiimote whiteboard. Multiple Wiimote support, outside screen toggles(right click, double click, keyboard presses, launch files), partial screen area calibration, calibration viewer, IR sensitivity settings etc.

Wiimote Smoothboard:
http://www.smoothboard.net
« Last Edit: August 15, 2009, 05:49:26 AM by boonjin » Logged

Smoothboard.net
Wii Whiteboard/Wiimote Whiteboard with annotation features, autoconnect to multiple Wiimotes and more!

Smoothboard/Wii Whiteboard Wiki
One stop guide to all your Wiimote Whiteboard needs

BoonJin.com
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #1 on: June 02, 2008, 11:04:20 PM »

Success

Just tried on the whiteboard at school, very impressed!

Benpaddlejones
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 27
Offline Offline
View Profile Email
« Reply #2 on: June 03, 2008, 09:56:12 AM »

Can you please post up the source for this, even in its unpolished state.
Logged
Moderator
*****
Karma: +26/-0
Posts: 593
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #3 on: June 03, 2008, 11:29:58 AM »

Can you please post up the source for this, even in its unpolished state.

Hi! I have just uploaded the source codes.

You can get it from here
http://www.boonjin.com/wp/2008/06/02/mouse-smoothing-for-wiimote-whiteboard
Logged

Smoothboard.net
Wii Whiteboard/Wiimote Whiteboard with annotation features, autoconnect to multiple Wiimotes and more!

Smoothboard/Wii Whiteboard Wiki
One stop guide to all your Wiimote Whiteboard needs

BoonJin.com
*
Karma: +0/-1
Posts: 26
Offline Offline
View Profile WWW
« Reply #4 on: June 03, 2008, 06:48:23 PM »

Somehow it does not work with Windows Vista.

I can calibrate and the programm can see the dots but the mouse doesn't move.
But I have the same problem not only with your version but on the original 0.2 version as well.

Can you please have a look on this problem?
Logged
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #5 on: June 03, 2008, 07:11:02 PM »

Der Wichtel
If you can connect and get to the calibration stage, then the issue is more likely your IR source.

If you click the 'A' button on your wiimote and you go to the calibration page then the Wiimote is connected and working. so try:

Before the calibration stage with the dialogue box click your pen if the wiimote can detect your pen. If it does next to "Visible IR Dots" it will show a count of how many IR sources it can detect. You may need to use various distances position to check this. (try waving in front of wiimote and spiriling out).

Check http://www.wiimoteproject.com/ir-pens/electronics-101-sharing-my-mistakes-updated-t834.0.html to see if your IR source is suitable.

Let me know what your find.

benpaddlejones
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-0
Posts: 27
Offline Offline
View Profile Email
« Reply #6 on: June 03, 2008, 09:33:30 PM »

Ive had issues with the WiimoteWhiteboard 0.3 (written and posted by someone else) under Vista.

Ill give this version a go when i get home, but seeing as i can run Johnny Lees 0.2 and this seems to be a relatively minor modification, i cant see why it wouldnt work.

Maybe try pointing the IR pen at the camera directly to test.
Logged
*
Karma: +0/-1
Posts: 26
Offline Offline
View Profile WWW
« Reply #7 on: June 04, 2008, 01:25:41 PM »

Der Wichtel
If you can connect and get to the calibration stage, then the issue is more likely your IR source.

If you click the 'A' button on your wiimote and you go to the calibration page then the Wiimote is connected and working. so try:

Before the calibration stage with the dialogue box click your pen if the wiimote can detect your pen. If it does next to "Visible IR Dots" it will show a count of how many IR sources it can detect. You may need to use various distances position to check this. (try waving in front of wiimote and spiriling out).

Check http://www.wiimoteproject.com/ir-pens/electronics-101-sharing-my-mistakes-updated-t834.0.html to see if your IR source is suitable.

Let me know what your find.

benpaddlejones


Hi. Calibration works perfekt and it shows me 1 dot. Besides the 0.1 Version works as well very good just not as good as yours with smoothing. So it has to do something with the codechanging from 0.1 to 0.2.

The pen just does not move ( tried both cursor  control checked and unchecked.

thank you for your help
« Last Edit: June 04, 2008, 01:28:18 PM by Der Wichtel » Logged
Support Admin
*
Karma: +49/-0
Posts: 1178
Offline Offline
benpaddlejones@live.com.au View Profile WWW Email
« Reply #8 on: June 04, 2008, 03:49:36 PM »

Boonjin
Does your app need the wiimotelib.dll to be present in the folder with it?

I just put you app next Johnny's so the wiimotelib.dll was already there?

Wondering if this could be Der Wichtel issue?

Benpaddlejones
Logged


See my full profile and links on my Google Profile: http://www.google.com/profiles/benpaddlejones
*
Karma: +0/-1
Posts: 26
Offline Offline
View Profile WWW
« Reply #9 on: June 04, 2008, 04:09:01 PM »

I have put the dll into the folder but still the same problem.
However if I use the version in the folder bin --> windowsxp it is working. If I put your exe or the original  Wiimote Whitboard.exe from the main folder they are still not working.
So the version in the bin/windowsxp folder must be different ....
Logged
Moderator
*****
Karma: +26/-0
Posts: 593
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #10 on: June 04, 2008, 09:19:10 PM »

hm...I'm not sure what's the cause of your problem. Like you said it may be due to the code change of the mouse simulation from 0.1 to 0.2. I have not tested with a Vista machine yet.

Anyone here have successfully use 0.2 or 0.2 with smoothing on vista?
Logged

Smoothboard.net
Wii Whiteboard/Wiimote Whiteboard with annotation features, autoconnect to multiple Wiimotes and more!

Smoothboard/Wii Whiteboard Wiki
One stop guide to all your Wiimote Whiteboard needs

BoonJin.com
*
Karma: +0/-0
Posts: 27
Offline Offline
View Profile Email
« Reply #11 on: June 05, 2008, 10:37:04 PM »

Im using 0.2 with vista, will check 0.2 with smoothing now.

EDIT: no cursor control under vista with 0.2 smoothing. Checking code now.
EDIT2: From what i can see its a problem with how it disposes of the Calibration form. Basically its calling the dispose function from a second thread which causes vista to spit, but when you run the compiled program you cant see that.
« Last Edit: June 05, 2008, 10:48:34 PM by takai » Logged
*
Karma: +0/-0
Posts: 2
Offline Offline
View Profile Email
« Reply #12 on: June 06, 2008, 04:25:33 AM »

Thank you so much for that version boonjin.

It worked just fine for me and I was able to use it in some presentations already. Well done and great work!
As you are more experienced with the Whiteboard than I am.. Is there a possibility to have an IR Pen which has a bigger range as the regular ones?

I'd love to just point with my pen on the whiteboard from 5-6 meters away.
Do you think thats possible?
Logged
*
Karma: +0/-0
Posts: 27
Offline Offline
View Profile Email
« Reply #13 on: June 06, 2008, 05:43:59 AM »

Hm, just realised its a problem with 0.2, i thought i was using 0.2 but i was using 0.1
Logged
Moderator
*****
Karma: +26/-0
Posts: 593
Offline Offline
Smoothboard Developer
View Profile WWW
« Reply #14 on: June 06, 2008, 05:45:25 AM »

Thank you so much for that version boonjin.

It worked just fine for me and I was able to use it in some presentations already. Well done and great work!
As you are more experienced with the Whiteboard than I am.. Is there a possibility to have an IR Pen which has a bigger range as the regular ones?

I'd love to just point with my pen on the whiteboard from 5-6 meters away.
Do you think thats possible?

Hello! Glad that you have tested this version.
I am actually a new wiimote whiteboard user. I just made the IR pen only more than a week ago. I have actually not tested it on a real projector yet. Smiley

For your suggestion, I think it will be difficult because the usual IR pen does not act like a laser which is unidirectional. The IR diode will spread the IR at a considerably big angle. Another problem will be that the IR is invisible to our human eye. So you will not be knowing where you are pointing.

 Maybe there are other methods available like using a red laser pointer with a hi resolution webcam.

I will try to think of other solutions such as using an additional wiimote at the screen facing the user.

Thanks for your suggestion!
Logged

Smoothboard.net
Wii Whiteboard/Wiimote Whiteboard with annotation features, autoconnect to multiple Wiimotes and more!

Smoothboard/Wii Whiteboard Wiki
One stop guide to all your Wiimote Whiteboard needs

BoonJin.com
Pages: [1] 2 3 ... 5
  Print  
 
Jump to:  

Clicky Web Analytics