Latency and Optimization

29 views
Skip to first unread message

George C

unread,
Jan 15, 2013, 6:51:34 PM1/15/13
to mpi...@googlegroups.com
Hey,
I'd like to ask around, if anyone has any practical advice on reducing the latency when drawing objects on the screen that require sensor data (e.g. skeleton, pointcloud, ...). 

Since our "recommended/supported" development platform is Java+Processing, relevant advice would be most appreciated, however, any constructive feedback is most welcome!

On the software-side, one possible thing to consider is the level of coupling between the code to draw/display something and the code to calculate/process the sensor data: i.e. code for movement calculation can be executed separately (in a thread), enabling us to fire events independently of Processing's run-loop. (Beware that this can reveal potential issues with thread-(un)safe code. See, how to make the relevant methods/properties synchronized, if you start getting runtime errors [thanks, Sergej].)

On the hardware-side, maybe someone with experience using both Xtion and Kinect can tell us, whether using 60fps on the Xtion results in lower latency, or, as suggested here (https://groups.google.com/forum/?fromgroups=#!topic/openni-dev/sIDA25doHAs) even has a negative overall effect?
Reply all
Reply to author
Forward
0 new messages