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

Typo in frame_queue.m and mex error in destructor of frame_queue #5906

Closed
sw290 opened this issue Feb 25, 2020 · 2 comments
Closed

Typo in frame_queue.m and mex error in destructor of frame_queue #5906

sw290 opened this issue Feb 25, 2020 · 2 comments

Comments

@sw290
Copy link

sw290 commented Feb 25, 2020

Required Info
Camera Model { D400, D415 }
Firmware Version (05.12.01.00)
Operating System & Version {Win (10)}
Platform PC
SDK Version { legacy / 2.31.0> }
Language {MATLAB }
Segment {Robot }

When calling:

frameQ = realsense.frame_queue(1);

Results in the matlab error:
'Error: File: frame_queue.m ... Illegal use of reserved keyword "end"'
However upon removal of this extra end in frame_queue.m results instead in:

Warning: The following error was caught while executing 'realsense.frame_queue' class destructor:
Error using librealsense_mex
Unknown Command received.
Error in realsense.frame_queue/delete (line 20)
realsense.librealsense_mex('rs2::frame_queue', 'delete', this.objectHandle);

I've had a look at the example for using frame_queue for the python wrapper, but there is no option to pass 'frameQ' to pipeline.start (eg. pipeline.start( config, frameQ ) ).

  1. Is this intentional or a bug?

  2. Would someone be able to write a quick example of how to use the post processing filters (and framequeue) using the MATLAB wrapper?

Thank you for your time.

@lramati
Copy link
Contributor

lramati commented Feb 25, 2020

These are things that are currently missing from the wrapper. I will add them in soon

@RealSenseCustomerSupport
Copy link
Collaborator


Hi.

Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed.

Thanks

@dorodnic dorodnic closed this as completed Jul 6, 2020
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