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

Regarding Read Only Setting in getParamImpl() #62

Open
BruceChanJianLe opened this issue Jul 7, 2022 · 0 comments
Open

Regarding Read Only Setting in getParamImpl() #62

BruceChanJianLe opened this issue Jul 7, 2022 · 0 comments

Comments

@BruceChanJianLe
Copy link

BruceChanJianLe commented Jul 7, 2022

Hi everyone, I am trying to implement "Parameters On Set Parameter Callback" feature, which I can update the parameters through a callback function. However, it seems like if I use the GetParam method, the declared parameter is set to a read only state.

Is there a special reason why it is set to read only?

It is set at this line here.

desc.read_only = true;

If I set param through the terminal, I will get this output.

Setting parameter failed: parameter 'filter1.params.output_frame' cannot be set because it is read-only
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

No branches or pull requests

1 participant