Open liborw opened 11 years ago
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
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?
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 theOutputFormat=102
doesn't have any effect.Is there other way how to switch the driver to shift values?