Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[RSDK-9132] Add (Get)Image to the camera interface #4487
base: main
Are you sure you want to change the base?
[RSDK-9132] Add (Get)Image to the camera interface #4487
Changes from all commits
a643d22
41cb592
f6e3d69
d6439dd
6417a56
59c36ec
16079fa
9084264
c44afa2
11b1d7d
438d550
0d8081b
824c30f
e744b68
fd50881
e570393
6646d78
612e91c
9029a05
6ec0041
ef1bd0e
d01159a
44611d5
146345f
c698e16
9da582f
1b51109
eaf28d7
4fe7e36
b4e1960
fc6665d
8afb714
375a35f
5bf744c
2a1cd8b
1233170
95f3f42
b208d2c
0b85975
c44454b
d848d20
09e295c
3edf860
b7c4635
63b7681
c91b68d
d63980e
6ffbae2
65b5bad
9a9612f
ab7e736
8244dfd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
camera.ReadImage still exists & should still behave the same way id did right?
If so, can we please not remove the
camera.ReadImage
test & just add thecamera.ImageFromVideoSource
tests?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.
It is being tested all throughout the transform camera.
Also - these two tests aren't doing much, they're testing projector/ no projector functionality, which was removed, and they can eventually be removed.
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.
Added back said tests that make sense: 8244dfd
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.
ah one thing - if in here or the server, if an image is returned as nill we should gracefully handle that.
Otherwise, especially with the server code, since we have a byte array that someone could write a driver returning a nil, we could panic.
See olivia's old pr for an example of this: 453778f
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.
gotcha, I'll write an error. Thanks for the callout
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.
Done