TT_UpdateSingleFrame() return values

Locked
aghman
Posts: 22
Joined: Thu Apr 24, 2008 9:08 am
Location: Seattle, WA

TT_UpdateSingleFrame() return values

Post by aghman » Fri Feb 05, 2010 12:51 pm

I'm calling this function at least once every 2-5 milliseconds, with V100 cameras (100 hz). This means that, at best, there should be a frame available once every 5 milliseconds. However, I'm almost always getting successful returns(ie. NPRESULT_SUCCESS) from UpdateSingleFrame, even though there should be no new frames available that often. I'd expect to see NoFrameAvailable, or some other error to indicate that there is no new data available.
Is there some way to tell that there isn't a new frame available, or perhaps (even better) a way to get individual frame ids for each camera? Basically, I'm looking for a way to track frame progression, on a per-camera basis. Any ideas?

Birch
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

Re: TT_UpdateSingleFrame() return values

Post by Birch » Fri Feb 05, 2010 6:08 pm

Please do not post the same question in multiple threads. We will attempt to answer your original question as quickly as possible.

http://forum.naturalpoint.com/forum/ubb ... #Post40875

Locked