13 Replies Latest reply on Feb 3, 2017 3:56 PM by MartyG

    handenable doesn't work on R200

    FakerSenBBai

      Hello

      function init() (PXCSenseManager) has return  "PXC_STATUS_ITEM_UNAVAILABLE" after handenable() function

      (my SDK version is R2)

      my device is r200

       

      I don't know why it doesn't work

       

      here is part of my code

       

      PXCSenseManager* senseManager = 0;

       

        const int DEPTH_WIDTH = 320;

        const int DEPTH_HEIGHT = 240;

        const int DEPTH_FPS = 30;

       

       

      senseManager = PXCSenseManager::CreateInstance();

        if (senseManager == nullptr) {

        throw std::runtime_error("SenseManager 생성 실패");

        }

       

        // Depth 스트림 활성화

        auto sts = senseManager->EnableStream(PXCCapture::StreamType::STREAM_TYPE_DEPTH,

        DEPTH_WIDTH, DEPTH_HEIGHT, DEPTH_FPS);

        if (sts < PXC_STATUS_NO_ERROR) {

        throw std::runtime_error("Depth 스트림 활성화 실패");

        }

       

        // 손 감지 활성화

        sts = senseManager->EnableHand();

        if (sts < PXC_STATUS_NO_ERROR) {

        throw std::runtime_error("손 감지 활성화 실패");

        }

       

       

        // 파이프 라인 초기화

        sts = senseManager->Init();                                 <----------------error in this moment

        if (sts < PXC_STATUS_NO_ERROR) {

        throw std::runtime_error("파이프 라인 초기화 실패");

       

      doesn't r200 compatible handmodule????