Skip to content

Small fixes - #5977

Merged
dorodnic merged 2 commits into
realsenseai:developmentfrom
dorodnic:development
Mar 10, 2020
Merged

Small fixes#5977
dorodnic merged 2 commits into
realsenseai:developmentfrom
dorodnic:development

Conversation

@dorodnic

@dorodnic dorodnic commented Mar 5, 2020

Copy link
Copy Markdown
Contributor
  1. Fix the behavior of "Enable Metadata" button on Windows
  2. Add horizontal and vertical FOV to rs-enumerate-devices

dorodnic added 2 commits March 5, 2020 00:54
Fetch and update each sensor individually instead of once per device
Comment thread src/ds5/ds5-device.cpp

auto depth_ep = std::make_shared<ds5_depth_sensor>(this, raw_depth_ep);

depth_ep->register_info(RS2_CAMERA_INFO_PHYSICAL_PORT, filter_by_mi(all_device_infos, 0).front().device_path);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filter_by_mi() was already called in line 545. Maybe you can keep result in var then can reuse... I couldn't find any function of uvc_device to get the device path, but maybe there is and then you can use depth_devices?

Comment thread src/l500/l500-device.cpp
depth_ep->get_option(RS2_OPTION_GLOBAL_TIME_ENABLED).set(0);


depth_ep->register_info(RS2_CAMERA_INFO_PHYSICAL_PORT, filter_by_mi(all_device_infos, 0).front().device_path);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

@dorodnic
dorodnic merged commit 7f2474d into realsenseai:development Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants