-
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
SR305 added #5997
SR305 added #5997
Conversation
There was a problem hiding this 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.
src/ivcam/sr300.cpp
Outdated
@@ -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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove extra spaces/tabs
There was a problem hiding this comment.
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
src/ivcam/sr300.h
Outdated
@@ -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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra spaces
src/ivcam/sr300.h
Outdated
@@ -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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for reveiw
There was a problem hiding this 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
Tracked on: DSO-14170