Exact Same values returned for Rigid Body position

Post Reply
Ohtrahddis
Posts: 1
Joined: Thu Aug 09, 2012 4:04 pm

Exact Same values returned for Rigid Body position

Post by Ohtrahddis » Thu Aug 09, 2012 4:33 pm

Hello, I am using Tracking Tools to track a rigid body which I tape to the top of my hand to get a rough track of my hand position.

I am conducting various tests to see how fast my hand moves when I make various gestures, and I am experiencing unusual data specifically when I make a rapid "swipe" gesture with my hand.

I broadcast frame data from Tracking Tools and get position data of the Rigid Body through NatNetML for my XNA 'game' in C#.

I am not modifying the received data in any way, and I was simply logging the RigidBody X Y and Z position in a log file.

Here is what I notice:
During a fast "swipe" gesture, the position data jumps much more quickly than expected, and a large difference between only two data points is shown, which I find strange since it is highly improbable that my hand moved so fast (about 122mm in 16.66 ms). What is more worrying is that the previous data points show absolutely no change in position until the data point right before the 'jump'. Here are some images to illustrate this:
Graph Jump Data
Raw Jump Data

The Images show the X position of my hand in mm from some origin in front of me. The time is recorded on the horizontal axis in total elapsed milliseconds of my program, and each frame with position values comes about ever 1/100th of a second (16.66ms) so the data points are 16.66ms apart as the camera is recording 100frames/s.

Can anyone explain this behavior of the groups of 4 to 5 values in which TrackingTools returns the exact same positions? I just find it hard to believe that the entire swipe gesture from start to finish took place over just 2 data points in 16ms and I would like to know if this is something happening in Tracking Tools as my code simply outputs the received positions without any modification.

NaturalPoint - Mike
Posts: 1896
Joined: Tue Feb 01, 2011 8:41 am
Location: Corvallis, OR

Re: Exact Same values returned for Rigid Body position

Post by NaturalPoint - Mike » Fri Aug 10, 2012 4:27 pm

Do you have the original .tim .tra and .cal files from this shoot that we could review?

Post Reply