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

rqt_reconfigure does not take values from the callback #218

Closed
garimellagowtham opened this issue Mar 16, 2014 · 2 comments
Closed

rqt_reconfigure does not take values from the callback #218

garimellagowtham opened this issue Mar 16, 2014 · 2 comments
Assignees

Comments

@garimellagowtham
Copy link

Hi Everyone,
When I change the config value of dynamic reconfigure inside the callback function, rqt_reconfigure changes that value on the GUI. But internally it does not change it. I see this problem in case of bool variables. I used to use them as buttons. When user presses the checkbox, I was able to set them back to normal after I did the task. But now it is resetting the checkbox, but not setting it internally. This means that I have to reset the checkbox to normal and repress the check box i.e press the check box 3 times to get the same task done. Can anyone please explain this.
Eg. Code:
if(config.iterate)
{
Do some iteration task;
config.iterate = false;
}
Current behaviour: The gui is getting reset but when I repress the checkbox, it is not sending any signal. I had to repress 3 times to get the same signal back.

@cottsay
Copy link
Member

cottsay commented Mar 16, 2014

I believe that I may have fixed this already (sounds like #107, may be fixed by d3da5e0).

Please pull the latest code and verify that the bug was fixed, and close this issue if things check out.

@cottsay cottsay added the bug label Mar 16, 2014
@cottsay cottsay self-assigned this Mar 16, 2014
@garimellagowtham
Copy link
Author

Thanks. The newest source code does it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants