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 - Rorschach

Pages: 1
1
General Discussion / Re: Wiimote & TCP/IP
« on: July 22, 2010, 01:28:53 PM »

Thank you for answering my question! I'm not sure if I'll be able to pull it off myself, but I might have someone to help me out with this.

2
General Discussion / Wiimote & TCP/IP
« on: July 20, 2010, 10:48:16 AM »

Hi,

Is it possible with the use of TCP/IP to get wiimote data from one pc to another?
I'm attempting to run an experiment on one computer and to collect the data on another, but since you can't connect the wiimote to two computers (right?) I'm looking for a way to get the data across.

3
Say Hi! / Re: Hi(i)
« on: May 12, 2010, 04:27:43 PM »
You can also open up a thread in a relevant subforum if you have any difficulties to get started. :)

Thanks for the info!
I think I will do just that, I've got some things working but there are plenty of things I'm still struggling with. ^^

4
Say Hi! / Re: Hi(i)
« on: May 09, 2010, 12:48:08 PM »
Cheers, but I'm not using a whiteboard.
Just trying to get data from the wiimote for my project.

5
Say Hi! / Hi(i)
« on: May 07, 2010, 01:38:40 PM »
Might as well introduce myself.

Working on a project for school, trying to get the wiimote to work with my computer so I can run an experiment with it.
Since I hardly know anything about programming the whole thing is giving me a headache, but it's been very educational and fun so far. =D

6
Programmers Den / Yaw formula
« on: March 23, 2010, 09:04:54 AM »
Hello!

I've been given a piece of code that is used to calculate yaw. I believe it to be correct (however if it's not I'd love to hear it).
Since I don't know much about programming I'm attempting to bring it back to its original formulas, so I can get it to work using LabVIEW (which has a graphical interface and is much easier to use for me).
This is the original piece of code:

Code: [Select]
float calc_yaw(struct ir_t* ir) {
float x;

x = ir->ax - 512;
x *= WIIMOTE_FOV_COEFFICIENT / 512.0;
       
        return RAD_TO_DEGREE( atanf(x) );

Which I think translates to this:

Raw X Values (ax) - 512
=> X * (0.39f)/512)
=> atan(X)

(With f being Pi/4)

And then all you have to do is convert the (radian) number to degrees (=> * 360/2Pi)
Does this look okay?

7
General Hardware Talk / Re: Some basic questions about Accelerometers & IR
« on: December 06, 2009, 09:39:59 AM »
Pardon me for not being clear on that, but yes, I am using the Wiimote Lib by Brian Peek.
And so we are talking about the Image Plane of the camera then (I wasn't entirely certain of that). I'm using Labview to help me understand the data better and I think it already blurts out the center of the (IR) points, but I'll look into that.
Thank you for the additional info, it's nice to know if you're on the right track or not.

8
General Hardware Talk / Re: Some basic questions about Accelerometers & IR
« on: December 03, 2009, 12:50:32 PM »
I did some more digging and I'm pretty confident about the following information, but I'd appreciate it if someone truly knowledgeable could confirm it.


-IR
The raw X and Y values are the IR Led (center) position on the camera's image plane?
The non-raw or normalized data I get with LabVIEW is just easier to work with I gather.

-Accelerometer
The accelerometers measure linear accelerations along three fixed axes; they are unable to distinguish between linear motions and rotations, and so they are capable of measuring only pitch and roll angles.

9
General Hardware Talk / Some basic questions about Accelerometers & IR
« on: November 27, 2009, 06:19:45 AM »
Hello,

I'm quite inexperienced when it comes to programming, but I've been using LabVIEW to collect accelerometer and IR data from the wiimote (with the help of the information on this site,  http://decibel.ni.com/content/docs/DOC-1353 ). I've managed to write the data in spreadsheet files, but now I'm figuring out what I got exactly (and what I can do with it).
Am I right in assuming that,

1.
The accelerometers measure the proper acceleration they experience relative to freefall.
Acceleration is quantified in the SI unit m/s2 or popularly in terms of g-force (g).
The accelerometers measure linear accelerations along three fixed axes; they are unable to distinguish between linear motions and rotations, and so they are capable of measuring only pitch and roll angles?

2.
The IR data I get is either raw or .. well not-raw of X and Y. But X and Y of what? I've been searching all over the net but I can't get a definitive answer. Is it the (X,Y) position of the IR LED I'm getting here?
In theory can the IR data help you in obtaining yaw and the position of the wiimote (which the accelerometers can't supply)?

Thank you for your time.

Pages: 1