Camera Frame Rate

Post Reply
niallm
Posts: 23
Joined: Tue Feb 22, 2005 5:00 am
Location: London Ontario Canada

Camera Frame Rate

Post by niallm »

Hi,
Is there any way to change the cameras frame rate from 120 fps to say 60fps.
I've been working with the sample app provided to output the coordinates of the 3 points of the vector clip. It appears that at some point during the processing of the vector data the routine is interupted and the FrameAvailable routine is executed which causes a crash. I think this is what happens. If I put a break point at the start of the FrameAvailable routine and a break in the processthevector routine (called from the frame available).
The debugger stops at the first Break then continue(f5) to the next then F10 through the routine.Usually the first time through everything works fine. On subsequent calls at some point before processing the vector is complete the debug jumps back to the frame available.

I've tried putting a framready flag which gets set before and cleared after a frame is processed. This kind of works by I seem to get assert failures from atlcom interface.
Which if ignored allows the program to work.
Any thoghts?

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

Re: Camera Frame Rate

Post by Birch »

Niall,

There is not a way to throttle the frame rate for the OptiTrack 3 generation of cameras. We have identified this as an important feature and are taking it into consideration in our development roadmap.

Using a "frame ready" flag should be a suitable workaround, though it is not clear why you might be getting asserts.
Post Reply