-
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
Turn on/off the infrared pattern #482
Comments
Hello @delmottea dev.set_option(rs::option::r200_emitter_enabled, 0); //disable pattern
for (int i = 0; i < 10; i++) dev.wait_for_frames(); // wait several frames for the effect to take place
// get frame data
dev.set_option(rs::option::r200_emitter_enabled, 0); //re-enable pattern Please note that there is certain latency between when you set option and when you get the first frame reflecting that change. |
oh, perfect :) It's not possible to get information if it was active on a specific frame or not? |
How do you do this on SR300? |
@RoboEvangelist - For the SR300 there is |
Hello,
I try to use multiple R200 (and later SR300) to get point cloud of an object from multiple viewpoints (around 6 cameras).
I discovered that the depth quality is worse when 2 cameras view the same face at the same time (interference of the pattern) so I'd like to turn on and off the IR projector to use only one camera at a time.
I don't need high framerate, but would need to get my 6 views in about 1 second.
I tried to stop the streaming and starting again, but it takes around 1 second per camera so too slow for my context.
Is there possibility to do the on/off faster in software or should I create an external shutter to occlude the projector?
thanks,
Arnaud
The text was updated successfully, but these errors were encountered: