Open GoogleCodeExporter opened 8 years ago
You can update the MaxDepthValue inside the
GlobalDefaults.ini, it's measured in meters. By default it's set to
10000, so you can change that to a less amount perhaps.
On a PC it's located here: c:\Program Files\Prime Sense\Sensor\Data
\GlobalDefaults.ini
On a Mac here: /usr/etc/primesense/GlobalDefaults.ini
Original comment by mosaic...@gmail.com
on 22 Sep 2011 at 2:37
If not mistaken, I'm also facing this issue. Seems that the user skeleton
tracking gets messed up when there's few people around. It happens all the
time. Similarly, i tried tracking the "User ID" and filter based on that, but
it can't solve the problem.
How do I ensure the "User ID" tracking doesn't get messed up?
Original comment by clement...@gmail.com
on 26 Sep 2011 at 4:03
I have found that the new/lost user events and the user ID are unreliable. Old
skeleton data gets stuck/stalled when a user walks off screen. Trace out one
point like the torso and you will see that you are getting conflicting data
from the stalled user that left plus the current user. So 30 times a sec you
are getting both good and bad/stalled data that will make your controls feel
locked. You have to filter out the old/stalled data. I recommend looking at one
point and storing they last 20 or values then count those values and if the
count is > 2 then it is stalled so add it to an ignore list in your skeleton
listener. I also defined a box that I called the active zone. So I only use
the skeleton data if they are not stalled and if they are in the active zone.
When they leave the zone I start an on screen count down to give them 5 secs to
return before I restart the game. I have also added a shutdown to as3openni and
then init it again which does clear the stalled data.
Original comment by jbla...@gmail.com
on 26 Sep 2011 at 9:55
Do you mind sharing the code for filtering out the old/stalled data?
Specifically this part "the count is > 2". I didn't really get it but will
definitely try it out.
It seems that when in a controlled environment (1 person), it's much more
stable, but it also happens sometimes. And how did you add a shutdown/restart
to as3openni without closing the app? I'll greatly appreciate your help and
input.
Original comment by clement...@southpaw.com.my
on 26 Sep 2011 at 10:40
Original issue reported on code.google.com by
jbla...@gmail.com
on 21 Sep 2011 at 11:24