Skip to content
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

SR305 added #5997

Merged
merged 3 commits into from
Mar 10, 2020
Merged

SR305 added #5997

merged 3 commits into from
Mar 10, 2020

Conversation

aseelegbaria
Copy link
Contributor

@aseelegbaria aseelegbaria commented Mar 9, 2020

Tracked on: DSO-14170

Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

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

I highlighted several minor fixes.

@@ -57,7 +70,8 @@ namespace librealsense
std::vector<std::shared_ptr<device_info>> results;

auto correct_pid = filter_by_product(uvc, { SR300_PID, SR300v2_PID });
auto group_devices = group_devices_by_unique_id(correct_pid);

auto group_devices = group_devices_by_unique_id(correct_pid);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove extra spaces/tabs

Copy link
Collaborator

Choose a reason for hiding this comment

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

This also highlighted in Travis log:

[ERROR] src/ivcam/sr300.cpp has tabs (this project is using spaces as delimiters)
[ERROR] src/ivcam/sr300.h has tabs (this project is using spaces as delimiters)
find: ‘third-party/libtm’: No such file or directory
Pull-Request check failed, please address 2 the errors reported above

https://travis-ci.org/IntelRealSense/librealsense/jobs/660036200?utm_medium=notification&utm_source=github_status

src/ivcam/sr300.cpp Outdated Show resolved Hide resolved
@@ -394,7 +394,8 @@ namespace librealsense
return dynamic_cast<uvc_sensor&>(*depth_sensor.get_raw_sensor());
}

sr300_camera(std::shared_ptr<context> ctx,

sr300_camera(std::shared_ptr<context> ctx,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Extra spaces

@@ -528,5 +530,18 @@ namespace librealsense
std::shared_ptr<lazy<rs2_extrinsics>> _depth_to_color_extrinsics;

lazy<ivcam::camera_calib_params> _camer_calib_params;

friend class sr305_camera;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is it in use?

src/sensor.cpp Outdated
{
_camera_info[info] = val;
}
_camera_info[info] = val;
Copy link
Collaborator

Choose a reason for hiding this comment

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

for reveiw

Copy link
Collaborator

@ev-mp ev-mp left a comment

Choose a reason for hiding this comment

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

Looks good.
Add PR description and specify tracking id

@ev-mp ev-mp merged commit 5fad0b9 into IntelRealSense:development Mar 10, 2020
@aseelegbaria aseelegbaria deleted the sr305 branch June 10, 2020 14:40
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