-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
D435 Change Resolution using Matlab error #3036
Comments
[Please Ignore - RealSense system comment] |
2 similar comments
[Please Ignore - RealSense system comment] |
[Please Ignore - RealSense system comment] |
I have a problem getting the 'vertices' of my D435 Depth Camera after aligning the depth frame to colour frame. The error I get is as follow. (Sometimes the code works fine). I do change the resolution of my camera. As I noted 'pnts.get_vertices()' works fine when I don't align the frames. **Error using librealsense_mex Error in realsense.points/get_vertices (line 13) Error in RealSencepredic_track_redObject_V3_30_06_2020 (line 140) Does anyone have an idea on solving this issue? |
Issue Description
I have a problem changing the resolution of my D435 Depth Camera with the enable_stream() function. I found some other similiar topics, but i didnt find a solution.
I tried the following code:
cfg = realsense.config();
cfg.enable_stream(realsense.stream.color,-1, 1280, 720, realsense.format.rgb8, 0);
Unfortunatly i always get the following errors:
Error using realsense.stream
Cannot find a member of the 'realsense.stream' enumeration class that corresponds to each element of the given input argument.
Error in realsense.config/enable_stream (line 86)
args = num2cell(int64([varargin{:}]));
Error in streaming_final (line 9)
cfg.enable_stream(realsense.stream.color,-1, 1280, 720, realsense.format.bgr8, 0);
Does anyone have an idea how to solve this error?
Thanks for your help!
The text was updated successfully, but these errors were encountered: