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 » Mon Dec 08, 2008 1:10 am

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
NaturalPoint Employee
NaturalPoint Employee
Posts: 519
Joined: Tue Jan 02, 2007 2:02 pm

Re: A problem about capturing frames using PointCloud SDK

Post by beckdo » Mon Dec 08, 2008 2:55 pm

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 » Mon Dec 08, 2008 10:09 pm

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 » Tue Dec 09, 2008 11:04 pm

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