PointCloudLibrary / PointCloudLibrary/pcl
Exception throw [Enabling depth color synchronization failed] when Reading data from Kinect V1, PCL 1.12.0, OpenNi2
Nobody has claimed this yet.
- 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:"

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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