-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
Description
Required Info | |
---|---|
Camera Model | { D415} |
Firmware Version | (05.11.01.00) |
Operating System & Version | {Win (10) / |
Kernel Version (Linux Only) | |
Platform | PC/ |
SDK Version | { 2.18.1} |
Language | {matlab } |
Segment | {Robot/Smartphone/VR/AR/others } |
Issue Description
I am trying to use the align.m function to align video and depth streams using the MATLAB wrapper. I am using the code chunk suggested in issue #2455.
align_to = realsense.stream.color;
alignedFs = realsense.align(align_to);
.....
fs = pipe.wait_for_frames();
aligned_frames = alignedFs.process(fs);
When using this I get the following error message corresponding to the line of script.
alignedFs = realsense.align(align_to);
Can anyone help with this error message (see below)?
Error using realsense.align
Error: File: align.m Line: 9 Column: 35
A constructor call to superclass realsense.filter appears after the object is used, or after a return.
Error in acquire_color_depth (line 45)
aligned = realsense.align(align_to);