Skip to content

OpenNI2 driver resolution error #311

@xionglingfeng

Description

@xionglingfeng

I compiled libfreenect2 with OpenNI2 driver from hanyazou's fork on Mac OS X. src/DeviceDriver.cpp has been modified to use OpenCL driver instead of OpenGL to workaround #205 in libfreenect2.
When I execute ./SimpleViewer, I got:

[Freenect2DeviceImpl] enabling usb transfer submission...
[Freenect2DeviceImpl] submitting usb transfers...
[Freenect2DeviceImpl] started
[Freenect2DeviceImpl] starting...
Error - expect color and depth to be in same resolution: D: 640x480, C: 1920x1080
[Freenect2DeviceImpl] stopping...
[Freenect2DeviceImpl] disabling usb transfer submission...
[Freenect2DeviceImpl] canceling usb transfers...
[DepthPacketStreamParser::onDataReceived] not all subsequences received 0
[Freenect2DeviceImpl] stopped
[Freenect2DeviceImpl] stopping...
[Freenect2DeviceImpl] already stopped, doing nothing
OpenNI2-Freenect2Driver: Closing device freenect2://0

pcl_openni2_viewer does not work either with:

[Freenect2DeviceImpl] enabling usb transfer submission...
[Freenect2DeviceImpl] submitting usb transfers...
[Freenect2DeviceImpl] started
[Freenect2DeviceImpl] starting...
[Freenect2DeviceImpl] starting...
Device ID not set, using default device: Kinect_Microsoft
[Freenect2DeviceImpl] stopping...
[Freenect2DeviceImpl] disabling usb transfer submission...
[Freenect2DeviceImpl] canceling usb transfers...
[DepthPacketStreamParser::onDataReceived] not all subsequences received 0
[Freenect2DeviceImpl] stopped
[Freenect2DeviceImpl] stopping...
[Freenect2DeviceImpl] already stopped, doing nothing
[Freenect2DeviceImpl] stopping...
[Freenect2DeviceImpl] already stopped, doing nothing
OpenNI2-Freenect2Driver: Closing device freenect2://0

I am confused whats happening here? Any suggestion?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions