ros-drivers / openni2_camera

ROS wrapper for openni 2.0
http://wiki.ros.org/openni2_camera
BSD 3-Clause "New" or "Revised" License
57 stars 95 forks source link

How to get shift values #15

Open liborw opened 11 years ago

liborw commented 11 years ago

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?

jonbinney commented 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

liborw commented 10 years ago

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?