Skip to content

Software Device update - #5333

Merged
ev-mp merged 23 commits into
realsenseai:developmentfrom
lramati:swdev
Mar 6, 2020
Merged

Software Device update#5333
ev-mp merged 23 commits into
realsenseai:developmentfrom
lramati:swdev

Conversation

@lramati

@lramati lramati commented Nov 27, 2019

Copy link
Copy Markdown
Contributor

SW Device infrastructure enhance
Fix python wrapper FW update callback
Tracked on: DSO-14348

@dorodnic

dorodnic commented Dec 5, 2019

Copy link
Copy Markdown
Contributor

Continuing and based on #4269

@lramati

lramati commented Dec 12, 2019

Copy link
Copy Markdown
Contributor Author

Merged in @callendorph's code.
The PR is now complete in terms of features, but I still need to add python bindings and write examples before it can be merged

Lior Ramati and others added 15 commits January 15, 2020 18:20
The API methods for rs2_software_sensor_add_*_stream can return an
error in various cases. In the old implementation, the returned error code
was not checked before sending the result to the `stream_profile` constructor.
This was causing the originating error to get swallowed and made debugging
the actual problem harder. This fixes this method so that the
first error is reported and not subsequent errors.
This adds a new private method for software_sensor for searching
for profiles by UID. This also makes this code more readable.
Issue realsenseai#4197

This adds the ability for the user with access to the `software_device` and
`software_sensor` classes to configure and set the `camera_info` parameters.
This allows for serial number, name, etc. to be written and configured.
UInlike @callendorph's implementation, it must be specified when you first register the stream_profile
@lramati

lramati commented Jan 15, 2020

Copy link
Copy Markdown
Contributor Author

Force pushed to rebase on development.
Example is still missing, but this is now mergeable

@lramati
lramati marked this pull request as ready for review January 15, 2020 17:15
@dorodnic

dorodnic commented Mar 5, 2020

Copy link
Copy Markdown
Contributor

Ping @ev-mp

Comment thread include/librealsense2/h/rs_sensor.h Outdated
Comment thread src/rs.cpp Outdated
Comment thread src/rs.cpp
Comment thread include/librealsense2/h/rs_internal.h
Comment thread include/librealsense2/hpp/rs_internal.hpp Outdated
Comment thread src/option.h
Comment thread src/realsense.def
Comment thread src/rs.cpp
Comment thread src/rs.cpp
Comment thread src/rs.cpp
Comment thread src/software-device.cpp Outdated
Comment thread src/types.h Outdated
Comment thread src/types.h Outdated
Comment thread src/types.h Outdated
Comment thread wrappers/python/pyrs_internal.cpp
Comment thread wrappers/python/python.hpp Outdated
Comment thread src/rs.cpp Outdated

@ev-mp ev-mp left a comment

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.

Last small fix

@ev-mp ev-mp left a comment

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.

Looks good

@ev-mp
ev-mp merged commit 213596b into realsenseai:development Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants