Skip to content

Conversation

@noacoohen
Copy link
Contributor

Adding new API to set a device for pipeline, ensuring the pipeline maintains the sensitivity values configured for
this device.

Tracked-by RSDSO-19687

@noacoohen noacoohen requested review from Nir-Az and OhadMeir July 9, 2024 12:22
gyro_sensitivity_value = 4.0

with test.closure("pipeline - set device"):
cfg = rs.config()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Used?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh, now I see, why not declare before usage? it's C++ :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

It's python :)
Same comment but that's OK for now.
In the future, with C++ and python it is better to declare the variable right before usage.
This way if you remove the usage in the future, you will remember to remove the declaration too

@Nir-Az
Copy link
Collaborator

Nir-Az commented Jul 11, 2024

Great PR, let's verify the shared/weak ptr think and it's approved from my side.

@Nir-Az Nir-Az merged commit 60e02fa into realsenseai:development Jul 11, 2024
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.

3 participants