RB_GetRigidBodyLocation returning -1.#IND000 values
Posted: Wed Jul 09, 2008 11:17 am
Hello,
Thanks for all the help so far. Despite StartCameras() throwing a PointCloudException (even for the Rigid Body sample app), subsequent calls to GetLatestFrame() seem to be grabbing the frame data correctly. Therefore I have moved on. But now I have another problem: I'm trying to get the tracking values using RB_GetRigidBodyLocation and it will give me expected values maybe ~130 times then I will find -1.#IND000 in all values returned from the function and the application will subsequently hang on the next RB_GetLatestFrame() call. Before the call, I am checking that GetRigidBodyCount() > 0 and IsRigidBodyTracked(0) is true. If I don't make any calls to GetRigidBodyLocation but still call GetLatestFrame, the application doesn't hang. Is there any obvious reason why this might happen?
Thanks
Thanks for all the help so far. Despite StartCameras() throwing a PointCloudException (even for the Rigid Body sample app), subsequent calls to GetLatestFrame() seem to be grabbing the frame data correctly. Therefore I have moved on. But now I have another problem: I'm trying to get the tracking values using RB_GetRigidBodyLocation and it will give me expected values maybe ~130 times then I will find -1.#IND000 in all values returned from the function and the application will subsequently hang on the next RB_GetLatestFrame() call. Before the call, I am checking that GetRigidBodyCount() > 0 and IsRigidBodyTracked(0) is true. If I don't make any calls to GetRigidBodyLocation but still call GetLatestFrame, the application doesn't hang. Is there any obvious reason why this might happen?
Thanks