A problem about capturing frames using PointCloud SDK

Post Reply
msching
Posts: 10
Joined: Wed Nov 12, 2008 1:03 am

A problem about capturing frames using PointCloud SDK

Post by msching »

I have such a problem:
I have got a calibration file called "test.cal" with the OptiTrack Point Cloud Calibration Tool and I can capture frames using this tool. On the other side, I down a sample project named "Validation Sample"(C#) from the offical website. But I can't capture any frames after loading profile("test.cal") into Validation.exe.
What should I do?
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: A problem about capturing frames using PointCloud SDK

Post by beckdo »

What is the symptom? GetFrame() always returns NULL?
msching
Posts: 10
Joined: Wed Nov 12, 2008 1:03 am

Re: A problem about capturing frames using PointCloud SDK

Post by msching »

Yes, GetFrame() always returns NULL. After loading the profile the value of the property NPPointCloudClass.CameraCount is 0.It seems that the cameras haven't been turned on. Are there anything I have to do before loading profile into the NPPointCloudClass?
msching
Posts: 10
Joined: Wed Nov 12, 2008 1:03 am

Re: A problem about capturing frames using PointCloud SDK

Post by msching »

I have solved the problem. The path of the profile ("test.cal") contains chinese charactor. So the NPPointCloudClass.LoadProfile() can not load the profile correctly.
Thanks a lot.
Post Reply