-
Notifications
You must be signed in to change notification settings - Fork 544
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
[Servo] Smoothing plugin does not update with planning group. #2332
Comments
Approach 1: Add a check for planning group change here and re-initialize the plugin. Currently the planning group is set using a parameter, and this parameter is used to fetch the planning group on every iteration of Servo. This ensures that the planning group can be changed easily using the intended functionality of the ROS parameter. Approach 2: Add a separate service to update the planning group This requires adding some easy but considerable amount of changes to Servo. |
@AndyZe ,@sea-bass, @henningkayser Which of the approaches would be preferable ? |
I would make the planning group param static. It doesn't seem like a good idea to update which joints are being controlled in a realtime control scenario, anyway. |
We already are working with users who want to switch the planning group (arm + linear rail vs. arm only), so I do not think we should have a static planning group. Between the proposed approaches, I'd choose Approach 1 because it's easier on the user (no need to explicitly create a service, but rather just use the one already exposed by the parameter value itself). |
Yeah, it is easier. Approach 2 (The one implemented in the linked PR ) is much more safter and clearer, but at the cost of some extra infrastructure. |
Aha ! We make the |
So it can only update when Servo is paused? That seems acceptable from a safety standpoint, too. |
This seems good to me as well! |
This issue is being labeled as stale because it has been open 45 days with no activity. It will be automatically closed after another 45 days without follow-ups. |
The required use case is currently satisfied by #2396. |
Description
Current behaviour
The new Servo implementation supports changing the planning group, however the smoothing plugin implementation is not yet updated to support this.
The plugins initialize with a
num_joints
(ref) parameter, but this this can now change after the initialization of the plugin, depending on the planning group.Expected behaviour
Smoothing plugins should have the ability to re-initialize the filter size when the planning group changes.
Your environment
NOTE : This issue is currently being worked on.
The text was updated successfully, but these errors were encountered: