Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RealSense SDK 2.0 depth scale query is wrong #126

Open
shane7226107 opened this issue Dec 4, 2018 · 2 comments
Open

RealSense SDK 2.0 depth scale query is wrong #126

shane7226107 opened this issue Dec 4, 2018 · 2 comments

Comments

@shane7226107
Copy link

shane7226107 commented Dec 4, 2018

Hi guys,

When I'am trying this project with RealSense D435 camera,
CLI shows that the depth scale is "0" which means something maybe going wrong.

Then I figure out the query should be fixed like:
untitled

You should not try to cast any sensor to rs2::depth_sensor because a color sensor can also be cast to depth_sensor successfully.

Use of pipeline_profile.get_device().first<rs2::depth_sensor>(); will return the depth sensor correctly.

Thanks!

@fenneishi
Copy link

hi,
Visual Studio19+RealSenseD435+infiniTAM,shows this: thanks for your suggestion?
image
and SDK2.0 is OK
image
thanks!thanks!

@fenneishi
Copy link

hi,
Visual Studio19+RealSenseD435+infiniTAM,shows this: thanks for your suggestion?
image
and SDK2.0 is OK
image
thanks!thanks!
The problem has been solved via,thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants