You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use ros2 interfaces for parameters in moveit_servo #790
There still is way too much boilerplate code and unnecessary duplication, inviting for user errors and frustrating debugging sessions (overstated, but still this this should be a lot simpler and shorter)
I'm not sure it is as bad as you seem to think it is. It could be better but this doesn't seem like the largest evil in the parameter interface in ROS 2 to me.
The descriptor constraints are somewhat useless if they don't provide the implementation for the validate function, additional_constraints are even more useless in this context
I don't agree that the additional_constraints string is useless. I do think it would be a really nice upstream improvement for there to be an interface for declaring per-parameter validation functions. I do think having a separate string from the description for constraints is a nice part of the interface.
The application code is responsible for handling parameter callbacks while the config itself is not being updated
Intermixed runtime dependencies on rclcpp, this doesn't seem to go well with mock tests
This is true. I do hope to fix this and I have a plan for how to work around this problem. I didn't include that in what I asked for in this issue to limit the amount of work needed for this.
No support for parameter namespaces, let alone group parameter constraints which are de facto implemented in the validate function.
This is a problem with the ros2 interface itself. There is some work to fix this though. It is more nuanced than I understand though apparently. Here is a PR where this is being discussed: ros2/rclcpp#1796
Activity
tylerjw commentedon Nov 18, 2021
@henningkayser I'll respond here to your comment in the PR: #799 (review)
I'm not sure it is as bad as you seem to think it is. It could be better but this doesn't seem like the largest evil in the parameter interface in ROS 2 to me.
I don't agree that the additional_constraints string is useless. I do think it would be a really nice upstream improvement for there to be an interface for declaring per-parameter validation functions. I do think having a separate string from the description for constraints is a nice part of the interface.
This is true. I do hope to fix this and I have a plan for how to work around this problem. I didn't include that in what I asked for in this issue to limit the amount of work needed for this.
This is a problem with the ros2 interface itself. There is some work to fix this though. It is more nuanced than I understand though apparently. Here is a PR where this is being discussed: ros2/rclcpp#1796