Author Topic: Setting Parameter  (Read 3671 times)

Offline lawrence58

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
on: July 06, 2010, 02:15:12 PM
Hi,

I was wondering if someone can help me or get me started. I am working on using the wiimote to use with young kids to help hand-eye co-ordination.

What I would like to do is:

1) a sheet of cardboard on the desk with 4 points or corners on it to mark the parameter of a box.

2) I want to touch the 4 corners to calibrate the parameter of the box.

3) When this is done, I want IR pen to be tracked in this box.

4) When the pen leaves the box the wiimote will begin beeping to let the student know they have left the box.

It does not move the cursor around on the screen. It just monitors the IR pen in relation within the created parameter.

I am just learning programming so any help would be great.

Thanks,

Lawrence



Offline boonjin

  • *
  • Posts: 929
  • Karma: +28/-0
  • Smoothboard Developer
    • View Profile
    • Smoothboard
Reply #1 on: July 06, 2010, 07:35:28 PM
Hi,

Do you plan to code this yourself?

As you would like to detect the IR pen outside of the box, the Wiimote must capture a significant sized area, maybe the desk area. Does the sheet of cardboard indicate the whole parameter of the box?

It should not be too complicated and in fact you can do this with minimal coding by using Smoothboard in Cursor Motion only mode.

Mark the corners of the cardboard with the margin of 0.1 of the length from the sides. Calibrate the software by clicking on the four corners.

Then, you can code a program to detect whether the cursor has left the screen and beep accordingly.

If you do not want to use the cursor, then you can code directly from the Wiimote Whiteboard software.

Regards,
Boon Jin

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url