Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

using oni files in openni_camera node

Hallo,

I've tried to get the .oni files as input instead of the camera by changing the initialization to the way the NiViewer example works with the xml file (status = context_.InitFromXmlFile(SAMPLE_XML_PATH, &errors);) . It works when selecting input sources from the camera that way, but when giving an .oni file with rgb and depth streams in I get this error:

[ERROR] [1298297598.491463836]: [OpenNIDriver::spin] Error in switching on depth stream registration: This operation is invalid! [ERROR] [1298297599.031286629]: [OpenNIDriver::spin] Error in switching on depth stream registration: This operation is invalid! [ERROR] [1298297599.031449831]: [OpenNIDriver::spin] Error in switching on depth stream registration: This operation is invalid!

Same settings work fine with NiViewer but I seem to be missing something to get it to work in the openni_camera node but I don't see it. Any idea's what I'm missing?

click to hide/show revision 2
No.2 Revision

using oni files in openni_camera node

Hallo,

I've tried to get the .oni files as input instead of the camera by changing the initialization to the way the NiViewer example works with the xml file (status = context_.InitFromXmlFile(SAMPLE_XML_PATH, &errors);) . It works when selecting input sources from the camera that way, but when giving an .oni file with rgb and depth streams in I get this error:

[ERROR] [1298297598.491463836]: [OpenNIDriver::spin] Error in switching on depth stream registration: This operation is invalid!
[ERROR] [1298297599.031286629]: [OpenNIDriver::spin] Error in switching on depth stream registration: This operation is invalid!
[ERROR] [1298297599.031449831]: [OpenNIDriver::spin] Error in switching on depth stream registration: This operation is invalid!

invalid!

Same settings work fine with NiViewer but I seem to be missing something to get it to work in the openni_camera node but I don't see it. Any idea's what I'm missing?