toinsson / pyrealsense

Cross-platform ctypes/Cython wrapper to the librealsense library (v1.x)
http://pyrealsense.readthedocs.io
Apache License 2.0
121 stars 46 forks source link

DACStream format should be rs_format.RS_FORMAT_Z16 #35

Closed antlai closed 7 years ago

antlai commented 7 years ago

In stream.py line 82

instead of self.format = rs_format.RS_FORMAT_XYZ32F

I guess it should be self.format = rs_format.RS_FORMAT_Z16

because is depth data...

toinsson commented 7 years ago

correct, if you wanna create a pull request go ahead, otherwise I'll just change that myself.

antlai commented 7 years ago

Go ahead and change it. One liners are probably not worth a pull request... Thanks!