-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Pipeline new API #13135
Conversation
gyro_sensitivity_value = 4.0 | ||
|
||
with test.closure("pipeline - set device"): | ||
cfg = rs.config() |
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.
Used?
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.
Oh, now I see, why not declare before usage? it's C++ :)
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'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
Great PR, let's verify the shared/weak ptr think and it's approved from my side. |
Adding new API to set a device for pipeline, ensuring the pipeline maintains the sensitivity values configured for
this device.
Tracked-by RSDSO-19687