victorprad / InfiniTAM

A Framework for the Volumetric Integration of Depth Images
http://www.infinitam.org
Other
918 stars 351 forks source link

Bug in RealSense wrapper? #48

Closed jmaye closed 8 years ago

jmaye commented 8 years ago

I found out that this line of code should be added in RealSenseEngine.cpp:

this->calib.disparityCalib.params = Vector2f(data->dev->get_depth_scale(), 0.0f);

Otherwise, it seems to work nicely with that, thanks a lot to the contributors.

P.S.: sorry not to go through the github pull requests mechanism, I'm a bit in a rush:)

olafkaehler commented 8 years ago

Great! I was wondering whether there is a function for this but obviously didn't read the API documentation very well... :)

Should be fixed now in the master branch!

jmaye commented 8 years ago

Perfect! Thanks for your work!