-
Notifications
You must be signed in to change notification settings - Fork 154
Add support for parameters #130
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
Comments
@esteve @jhdcs What do you think, should we support the parameter semantics rclcpp had before Dashing, i.e. These flags seem to be there mostly for backwards compatibility (though the the blackboard parameter server is cited as an example use-case). I'd find it nice if we could avoid the complexity incurred by these options. |
I noticed that implementing parameter services will cause a dependency on |
Is there any movement on this? I'm making a driver and would like to have |
Hi @ashquarky – development from my side happens in bursts and I must say I have not made progress with parameters since last year. But I've now picked it up again (partly thanks to your comment :P), so there's a good chance you'll see progress on this in the coming week or so. Your use case seems to be a simple parameter set through the command line or yaml, right? Not through parameter services. |
Hey @nnmm have you started with this yet? I'd be happy to try implement it (but might need some pointers), as I've already had a look at adding a Concerning To clarify what would this issue entail:
|
@texhnolyze Yes, I've started, although at a slower pace than I had planned. Parameters are just complex, the difficulty lies not so much in translating from C++, but in deciding which subset of parameters functionality is suitable for a first version in Rust, and how to do adapt things to be maybe less ugly than in C++. I plan to focus on that a bit more in the time ahead. |
Sorry I'm late to the party, I'm just getting back into my project now. I'd be happy with just commandline stuff, yeah! Just to tweak some of the constants in the driver. |
I clarified my thinking on parameters today a little bit (by reading up on & drawing a state diagram of rclcpp's parameters). I think we can probably give direct (read-only) access to the parameter overrides (the command line stuff) for now. I think it is conceptually simple to do so, and rclcpp seems to be leaning in that direction too with ros2/rclcpp#2090, though they only expose the names, not the values. |
We have support for node parameters and even parameter services are implemented, so I think we can consider closing this issue, unless there's some other aspect of parameters that's still missing. |
Agreed, if there are missing features in our parameters implementation lets open a new issue that is specific. |
This likely depends, in part, on the service/client functionality to be added soon.
The relevant functions are in https://github.com/ros2/rcl/blob/master/rcl/include/rcl/arguments.h
The text was updated successfully, but these errors were encountered: