- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can someone tell me How to control the exposure and gain and switch of infrared projector by programming in C++ on D435?
Thanks a lot.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The command for gain control is:
gain_control
https://unanancyowen.github.io/librealsense2_apireference/structlibrealsense_1_1gain__control.html# a81150897487b7dc3b980c17338b193f5 Intel® RealSense™ Cross Platform API: librealsense::gain_control Struct Reference
A list of commands related to exposure can be found in the index below, starting at 'exposure' downwards.
https://unanancyowen.github.io/librealsense2_apireference/functions_e.html Intel® RealSense™ Cross Platform API: Class Members
The laser power and emitter enabling / disabling can be controlled with a script at the very bottom of the page below:
https://github.com/IntelRealSense/librealsense/wiki/API-How-To API How To · IntelRealSense/librealsense Wiki · GitHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer. For gain and exposure, can you give an example for detail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Lines 203 to 315 of the code for the camera's Advanced Mode show code for controlling the laser, gain and exposure modes.
https://github.com/IntelRealSense/librealsense/blob/9437bc24c0f4ce16193f1045ceea703a8151b96d/src/ds5/advanced_mode/advanced_mode.cpp# L203 librealsense/advanced_mode.cpp at 9437bc24c0f4ce16193f1045ceea703a8151b96d · IntelRealSense/librealsense · GitHub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This sample program allows you to change the sensor options: https://github.com/IntelRealSense/librealsense/tree/master/examples/sensor-control https://github.com/IntelRealSense/librealsense/tree/master/examples/sensor-control.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page