Skip to content

Port test record-software-device to python - #12040

Merged
Nir-Az merged 2 commits into
realsenseai:developmentfrom
noacoohen:record_software_device_test
Aug 13, 2023
Merged

Port test record-software-device to python#12040
Nir-Az merged 2 commits into
realsenseai:developmentfrom
noacoohen:record_software_device_test

Conversation

@noacoohen

@noacoohen noacoohen commented Jul 26, 2023

Copy link
Copy Markdown
Contributor

LRS-843

@noacoohen
noacoohen requested a review from Nir-Az July 26, 2023 10:16
depth_intrinsics.width = W
depth_intrinsics.height = H
depth_intrinsics.ppx = float(W/2)
depth_intrinsics.ppy = H/2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ppx and ppy are same type.
How come only one need float casting and the other not?

@@ -0,0 +1,143 @@
# License: Apache 2.0. See LICENSE file in root directory.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can we maybe split the logic into functions and add some comments.

It will help understand the flow..

prepare a depth image..
prepare a motion image

record frames
play frames
compare_frames (original, recorded)

something like that.. will look much better IMO

@Nir-Az Nir-Az changed the title test record-doftware-device Port test record-software-device to python Jul 26, 2023

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Great

@Nir-Az
Nir-Az merged commit 0a7da18 into realsenseai:development Aug 13, 2023
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