ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ok finally found the solution to this. For some reason the VideoStream in Openni2 (not sure about 1) has mirroring enabled as default. i.e the image is shown as if seen in a mirror. To correct this the openni2_camera.cpp file needs to be updated with the lines:

   depthStream.setMirroringEnabled(FALSE);
   rgbStream.setMirroringEnabled(FALSE);

This means that this image will go from being this (mirrored)

image description

to non-mirrored

image description

Additional not I've built all the underlying drivered et al from source as this runs on a raspberry pi

Hopefully this will be of use some time...

Mark

Ok finally found the solution to this. For some reason the VideoStream in Openni2 (not sure about 1) has mirroring enabled as default. i.e the image is shown as if seen in a mirror. To correct this the openni2_camera.cpp file needs to be updated with the lines:

   depthStream.setMirroringEnabled(FALSE);
   rgbStream.setMirroringEnabled(FALSE);

This means that this image will go from being this (mirrored)

image description

to non-mirrored

image description

Additional not I've built all the underlying drivered et al from source as this runs on a raspberry pi

Hopefully this will be of use some time...

Mark