-
Notifications
You must be signed in to change notification settings - Fork 112
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
Added C++ Client class #63
Conversation
91ceae4
to
e5f211b
Compare
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.
I don't really have authority here, but from a brief code review the implementation looks good.
Thanks for the contribution!
Seems like some unit tests are failing.
The unit test that fails is insignificant, it's just because the test is sleeping for a fixed amount of time to wait for the reconfiguration to happen and that amount is not enough for the build server! |
Regarding the failing test, perhaps you could extend the hardcoded sleep time, retry the test if failed for a fixed number of iterations, or (complicated but awesome) add an option to the API to asynchronously notify when reconfiguration is complete. |
I wouldn't want to over-complicate the API, doing that might discourage potential users. If necessary, I could do something more complicated to make sure the tests pass on all occasions, but I wouldn't want to add "features" to the Client just to make tests easier (that's the wrong way of testing). |
Thanks @progtologist for the contribution! |
@mikaelarguedas ping. Did this fall of your todo list? :) |
unfortunately it did get lost in my everyday growing todo list. I'm planning on getting this in for the lunar release and will finish reviewing it in the next few days / week. It looks good and I'm not expecting much change to get this merged. Agreed that a c++ client would be great!
Agreed sorry all for the delay |
Thanks a lot!
On Thu, Mar 02, 2017 at 12:56:51AM -0800, Mikael Arguedas wrote:
I'm planning on getting this in for the lunar release
Please consider adding this to kinetic (and maybe even indigo) too.
This is a new submodule, so there shouldn't be any problems with
releasing it into existing ROS distros.
|
Yes I'm not planning on branching out, and if I end up doing so this will be backported and will land in every active rosdistro |
@progtologist Looks good to me. Thanks for contributing this! |
@mikaelarguedas They all look good, thanks for the corrections! You may squash them all and merge! |
Sounds good, closing in favor of #78 then |
Added templated dynamic_reconfigure::Client for C++ users as requested in #4 .