PointCloudLibrary / PointCloudLibrary/pcl

Exception throw [Enabling depth color synchronization failed] when Reading data from Kinect V1, PCL 1.12.0, OpenNi2

Open
#5,032 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

status: triage
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

i have tried out tools Openni2_view.cpp https://github.com/PointCloudLibrary/pcl/blob/f8c0e1a04947ff8eedca48968aa380231c197e99/tools/openni2_viewer.cpp

Compile with no error, but an exception throw out when run this line https://github.com/PointCloudLibrary/pcl/blob/f8c0e1a04947ff8eedca48968aa380231c197e99/tools/openni2_viewer.cpp#L194
and it return an exception: "pcl::io::openni2::OpenNI2Device::setSynchronization @ C:\pcl-1.12.0\io\src\openni2\openni2_device.cpp @ 428 : Enabling depth color synchronization failed:"
image
and it cause error for the code below

My system:

  • OS: Windows 10
  • PCL ver 1.12.0, OpenNi2
  • Camera: Kinect V1 (Kinect for Windows)
  • i had install Kinect SDK V1.8
    How can I fix that exception? or How can i streaming or get data (depth & picture) from Kinect V1 via PCL libraries.

(i have checked my camera with example in kinect sdk, and tool NIview and it OK)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tools/openni2_viewer.cpp at the reported call site and reproduce the exception on Windows 10 with Kinect V1 and OpenNI2. Then inspect io/src/openni2/openni2_device.cpp around line 428; done means identifying whether depth-color synchronization is supported in this setup and enabling depth and image streaming without the reported exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.