Skip to content
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

Pipeline new API #13135

Merged
merged 6 commits into from
Jul 11, 2024
Merged

Pipeline new API #13135

merged 6 commits into from
Jul 11, 2024

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 OhadMeir and Nir-Az July 9, 2024 12:22
src/pipeline/pipeline.h Outdated Show resolved Hide resolved
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 IntelRealSense:development Jul 11, 2024
21 of 22 checks passed
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