openni2_camera icon indicating copy to clipboard operation
openni2_camera copied to clipboard

How to get shift values

Open liborw opened this issue 11 years ago • 2 comments

For the openni_camera I was able to change the output for depth stream to shift values by changing the configuration file at /etc/openni/GlobalDefaults.ini. For the openni2 there is a /etc/openni2/PS1080.ini which looks very similar. But uncommenting the OutputFormat=102 doesn't have any effect.

Is there other way how to switch the driver to shift values?

liborw avatar Oct 01 '13 12:10 liborw

Not sure. That doesn't really involve the ROS stuff, so this question may be better for the main openni2 repo: https://github.com/OpenNI/OpenNI2

jonbinney avatar Oct 15 '13 21:10 jonbinney

Actually it is a ROS stuff, the driver reads the PS1080.ini but then the configuration in overwritten by the hard coded pixel format in the https://github.com/ros-drivers/openni2_camera/blob/indigo-devel/src/openni2_driver.cpp#L179. Is this intentional?

liborw avatar Jul 07 '14 10:07 liborw