-
Notifications
You must be signed in to change notification settings - Fork 193
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
Plugin container layer docs #615
Plugin container layer docs #615
Conversation
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.
Just add to the migration guide that "hey we have a new layer, here's why its nice, check out the configuration guide" with a link. Its a promotion :-)
Example image updated |
combination_method: 1 | ||
plugins: ["static_layer", "inflation_layer"] | ||
static_layer: | ||
plugin: "nav2_costmap_2d::StaticLayer" |
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.
@SteveMacenski if the plugin type is explicitly defined in each constituent layer, do I still need an parameter for plugin_types
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.
Its not defined in the layer as I mentioned. Your util that loads the plugin (https://github.com/ros-navigation/navigation2/blob/684a4d037241674550b756c5014711fa6c13e35e/nav2_util/include/nav2_util/node_utils.hpp#L136) itself defines that .plugin
parameter so it can read the string of the plugin class in order to load it. That is a parameter that you have actually added by using get_plugin_type_param
. Yes, this is important to add as a parameter in the parameter guide and in this example YAML
Otherwise, with that missing parameter + fixing DCO, I can merge this and the PR! |
9985400
to
4d79a9a
Compare
Signed-off-by: alexander <[email protected]>
Signed-off-by: alexander <[email protected]>
Signed-off-by: alexander <[email protected]>
…ion guide Signed-off-by: alexander <[email protected]>
Signed-off-by: alexander <[email protected]>
Co-authored-by: Steve Macenski <[email protected]> Signed-off-by: alexanderjyuen <[email protected]>
Signed-off-by: alexander <[email protected]>
Signed-off-by: alexander <[email protected]>
Signed-off-by: alexander <[email protected]>
4d79a9a
to
1a9891a
Compare
Signed-off-by: alexander <[email protected]>
1a9891a
to
780452e
Compare
Added documentation for plugin container layer