Skip to content

Commit

Permalink
Enable emitter for additional depth info (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanseq authored Jul 15, 2022
1 parent 58ad5a4 commit 609cf53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ int main(int argc, char **argv) {
if (index == 1) {
sensor.set_option(RS2_OPTION_ENABLE_AUTO_EXPOSURE, 1);
sensor.set_option(RS2_OPTION_AUTO_EXPOSURE_LIMIT,5000);
sensor.set_option(RS2_OPTION_EMITTER_ENABLED, 0); // switch off emitter
sensor.set_option(RS2_OPTION_EMITTER_ENABLED, 1); // emitter on for depth information
}
// std::cout << " " << index << " : " << sensor.get_info(RS2_CAMERA_INFO_NAME) << std::endl;
get_sensor_option(sensor);
Expand Down

0 comments on commit 609cf53

Please sign in to comment.