Software Archive
Read-only legacy content
17061 Discussions

Can't run MeasurementSP sample

Tony_X_
Beginner
263 Views

Hello,

I am new here.  I just set up the system.  I have run most samples without problem except this one. 

This line always returned false.

if(!pScenePerceptionController->InitPipeline())

Any ideas?  Please.

I traced into code and did not help.

 

Thanks.

 

I copied some code here, all original.

int wmain(int argc, WCHAR* argvW[])

{

QueryPerformanceFrequency(&clockFrequency);

printf("SP_MeasurementTool: Starts.\n");

pScenePerceptionController.reset(new ScenePerceptionController(L"Measurement SP", argc, argvW, L"", RGB_IMG_WIDTH, RGB_IMG_HEIGHT, RGB_FRAMERATE,

IMG_WIDTH, IMG_HEIGHT, DEPTH_FRAMERATE));

if((*pScenePerceptionController.get()) == false)

{

return 1;

}

pScenePerceptionController->PauseScenePerception(true);

 

if(!pScenePerceptionController->SetVoxelResolution(PXCScenePerception::VoxelResolution::MED_RESOLUTION))

{

wprintf_s(L"RF_MeasurementSP: Failed Enable Scene Perception module\n");

return 1;

}

if(!pScenePerceptionController->InitPipeline())

{

return 1;

}

 

FreeConsole();

0 Kudos
2 Replies
Colleen_C_Intel
Employee
263 Views
what camera do you have?
0 Kudos
Tony_X_
Beginner
263 Views

I am using F200, this sample must be for R200 only, right?

I forgot it, I read it somewhere.

Tony

0 Kudos
Reply