-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Docking backwards as plugin param #4695
Comments
This makes sense and you are not the first to bring this up, so I think this is worthwhile. I took a look and it appears that most of the uses of A couple of APIs would need to change ( I would propose the following:
I think that should work. Then the open question I have is:
We could still get the parameter and log a warning that this is depreciated and to use the new dock plugin API. However in that case if we get it, we need to deconflict it when we use it in Alternatively, we could have the simple plugins have their own I think the latter is cleaner, but works primarily for users of the simple charging / non-charging plugins provided. I suppose that is 'fine' as long as we don't backport these changes and only available in Rolling and newer. I'm not sure we could backport the changes anyway since we change the API of What do you think? Interest in contributing this or something I should work on on the way to ROSCon? |
Feature request
The dock_backwards parameter as a dock_plugin parameter
Feature description
The dock_backwards param is a general param of the node, so it is fixed once the node starts. This way, the dock_plugins and dock instances are always forward or backward. In the case of needing a dock_plugin as forward and another one as backward, it is necessary to start 2 nodes changing this parameter.
As this param is called each time the velocity is calculated, it would be great if this param is part of the dock_plugin params, so we can have 2 plugins for forward and backward in one node.
The text was updated successfully, but these errors were encountered: