Skip to content

feat: Extend discovery to support Intel real sense cameras#264

Merged
presatish merged 25 commits intoedgexfoundry:mainfrom
EdgeX-Camera-Management:extend-discovery-preethi
Jul 1, 2023
Merged

feat: Extend discovery to support Intel real sense cameras#264
presatish merged 25 commits intoedgexfoundry:mainfrom
EdgeX-Camera-Management:extend-discovery-preethi

Conversation

@presatish
Copy link
Copy Markdown
Contributor

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md

PR Checklist

Please check if your PR fulfills the following requirements:

  • I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
  • I am not introducing a new dependency (add notes below if you are)
  • I have added unit tests for the new feature or bug fix (if not, why?)
  • I have fully tested (add details below) this the new feature or bug fix (if not, why?)
  • I have opened a PR for the related docs change (if not, why?)

Testing Instructions

  1. Make sure a realsense camera is plugged into your device.
  2. Use v4l2-ctl --list-devices to check that the device is recognized by your system and to check the paths of the device.
  3. Build the usb device service using make docker.
  4. Run the edgex core services along with the device service.
  5. Check the discovered devices (http://0.0.0.0:59881/api/v3/device/service/name/device-usb-camera), make sure that the paths match. Note that only the 1sat, 3rd and 5th paths are saved in the device, as these are the only streaming paths.
  6. Test for rediscovery by deleting the device or restarting the service, etc.
  7. Make sure the paths are updated if ports are changed.

New Dependency Instructions (If applicable)

ChristianDarr-personal and others added 25 commits June 21, 2023 13:56
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: preethi-satishcandra <preethi.satishchandra@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: preethi-satishcandra <preethi.satishchandra@intel.com>
Signed-off-by: Darr, Christian <christian.darr@intel.com>
Signed-off-by: preethi-satishcandra <preethi.satishchandra@intel.com>
Signed-off-by: preethi-satishcandra <preethi.satishchandra@intel.com>
Signed-off-by: preethi-satishcandra <preethi.satishchandra@intel.com>
@presatish presatish changed the title Extend discovery to support Intel real sense cameras feat: Extend discovery to support Intel real sense cameras Jun 30, 2023
Copy link
Copy Markdown
Contributor

@ChristianDarr-personal ChristianDarr-personal left a comment

Choose a reason for hiding this comment

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

LGTM

@vyshali-chitikeshi
Copy link
Copy Markdown
Contributor

Validation looks good, provided details of test cases in internal group channel

@presatish
Copy link
Copy Markdown
Contributor Author

This PR is based out of #262 whose comments pertaining to this PR have already been addressed. Validation also has been fully done.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #264 (13798fe) into main (c5a4cd9) will increase coverage by 2.56%.
The diff coverage is 19.73%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff            @@
##            main    #264      +/-   ##
========================================
+ Coverage   2.38%   4.95%   +2.56%     
========================================
  Files          8       8              
  Lines        879     908      +29     
========================================
+ Hits          21      45      +24     
- Misses       858     863       +5     
Impacted Files Coverage Δ
internal/driver/device.go 11.42% <ø> (ø)
internal/driver/routes.go 0.00% <0.00%> (ø)
internal/driver/driver.go 4.30% <20.00%> (+4.30%) ⬆️

@presatish presatish merged commit 7adbeca into edgexfoundry:main Jul 1, 2023
@ajcasagrande ajcasagrande deleted the extend-discovery-preethi branch August 3, 2023 18:38
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.

4 participants