About sample applications
Posted: Sun Feb 10, 2008 2:49 pm
Hi,
Possibly these could be very basic or silly questions.
I tried to execute "Rigid Body Toolkit Samples" online.(http://media.naturalpoint.com/software/ ... Sample.zip)
But it didn't work properly. So I tried "Point Cloud Non-COM C++ Sample" online, and it worked. (http://media.naturalpoint.com/software/ ... Sample.zip)
And I have no problems in using "Rigid Body Tool" provided originally.
Belows are the problems I have experienced. (I'm using Visual Studio 2005 Express Edition in Windows Vista.)
1. In the debug mode, RB_LoadDefinition() always fails. But it works when I just execute the .exe outside the Visual Studio. In case of the "Point Cloud Non-COM C++ Sample", it also didn't work properly in the debug mode and worked in the execution of the .exe.
2. RB_LoadProfile() doesn't seem to work properly or there are some bugs in treating error message because it says "success" even when I use a invalid filename.
3. RB_StartCameras() says "success", but I'm not sure because the next function RB_GetLatestFrame() fails. According to the error message, it says "invalid license". So I checked RB_CameraCount(), and the camera count was 0. (But there was no license problem and camera starting problem in case of the "Point Cloud Non-COM C++ Sample".)
#3 is the biggest problem.
I compiled both "Rigid Body Toolkit Samples" and "Point Cloud Non-COM C++ Sample" in the "samples" subfolder. But one works and the other doesn't work properly. Do I need to check something I might have missed?
Thank you,
Possibly these could be very basic or silly questions.
I tried to execute "Rigid Body Toolkit Samples" online.(http://media.naturalpoint.com/software/ ... Sample.zip)
But it didn't work properly. So I tried "Point Cloud Non-COM C++ Sample" online, and it worked. (http://media.naturalpoint.com/software/ ... Sample.zip)
And I have no problems in using "Rigid Body Tool" provided originally.
Belows are the problems I have experienced. (I'm using Visual Studio 2005 Express Edition in Windows Vista.)
1. In the debug mode, RB_LoadDefinition() always fails. But it works when I just execute the .exe outside the Visual Studio. In case of the "Point Cloud Non-COM C++ Sample", it also didn't work properly in the debug mode and worked in the execution of the .exe.
2. RB_LoadProfile() doesn't seem to work properly or there are some bugs in treating error message because it says "success" even when I use a invalid filename.
3. RB_StartCameras() says "success", but I'm not sure because the next function RB_GetLatestFrame() fails. According to the error message, it says "invalid license". So I checked RB_CameraCount(), and the camera count was 0. (But there was no license problem and camera starting problem in case of the "Point Cloud Non-COM C++ Sample".)
#3 is the biggest problem.
I compiled both "Rigid Body Toolkit Samples" and "Point Cloud Non-COM C++ Sample" in the "samples" subfolder. But one works and the other doesn't work properly. Do I need to check something I might have missed?
Thank you,