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

Matlab wrapper: crash when trying to get intrinsics. #2541

Closed
izaakvc opened this issue Oct 16, 2018 · 1 comment
Closed

Matlab wrapper: crash when trying to get intrinsics. #2541

izaakvc opened this issue Oct 16, 2018 · 1 comment
Assignees

Comments

@izaakvc
Copy link

izaakvc commented Oct 16, 2018

I was trying to get the intrinsics from the camera like this.
When doing following steps:

pipeline         = realsense.pipeline();
pipeline_profile = pipeline.start(obj.config);
depth_stream     = pipeline_profile.get_stream(realsense.stream.depth);
depth_stream     = depth_stream.as('video_stream_profile');      % <--- 'Access violation'
intrinsics       = depth_stream.get_intrinsics();

It results in a complete crash (Access violation detected) when executing the second to last line.
In fact, it crashes when accessing any of the functions of stream_profile (stream_name, stream_index, fps, ...)

Originally posted by @izaakvc in #2487 (comment)

@ev-mp
Copy link
Collaborator

ev-mp commented Nov 19, 2018

Hello @izaakvc , the fix has been integrated in v2.16.3.
Closing this now.
Feel free to reopen if you see otherwise.

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

No branches or pull requests

5 participants