-
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
Python API for A-factor? #4807
Comments
try rs.advanced_mode.get/set_amp_factor |
Thank you, I've got a little closer but not there yet. Tried this:
got this:
Looking at some other examples I tried the following:
But got the following
|
There was an unfortunate oversight when adding the functions to the wrapper. I will open a pull request soon to address the issue, but as a pre-release version just went out it might take some time before it makes it into the official release and PyPi packages. You will be able to compile the branch from source if you'd like a fix sooner |
I’m compiling from source anyway.
Thank you Lior I’ll look out for the fix.
… On 5 Sep 2019, at 12:41, Lior Ramati ***@***.***> wrote:
There was an unfortunate oversight when adding the functions to the wrapper. I will open a pull request soon to address the issue, but as a pre-release version just went out it might take some time before it makes it into the official release and PyPi packages. You will be able to compile the branch from source if you'd like a fix sooner
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I've checked out the pull request, compiled the SDK, and I'm no longer getting the error, will continue testing to confirm it's working. thank you. |
The pull request was integrated since 2.28.1. |
Good day! advnc_mode = rs.rs400_advanced_mode(self.profile.get_device()) TypeError: set_amp_factor(): incompatible function arguments. The following argument types are supported: Can read but not write A_factor. Best rerads |
Hello,
Is there python bindings for the new A-factor functionality?
From github it looks like:
C
rs2_set_amp_factor
rs2_get_amp_factor
The white paper mentions
C
RS2_Set_A-factor
RS2_Get_A-factor
C++
set_new_depth_control
get_new_depth_control
Thanks
The text was updated successfully, but these errors were encountered: