Skip to content
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

Add package & executable parameter to container #4

Merged
merged 2 commits into from
Mar 22, 2022

Conversation

yushijinhun
Copy link
Contributor

This allows the user to use a component container implementation other than component_container, such as component_container_isolated and component_container_mt.

This allows the user to use a component container implementation
other than `component_container`, such as `component_container_isolated`
and `component_container_mt`.
@@ -410,7 +410,7 @@ def group(self, ns=None, if_arg=None, unless_arg=None, if_condition=None, unless


@contextmanager
def container(self, name, namespace = '', existing = False, **container_args):
def container(self, name, namespace = '', existing = False, package='rclcpp_components', executable='component_container', **container_args):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice idea. Can you update the Readme so that is also references the fact we can pick the composition package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Readme has been updated already.

@oKermorgant
Copy link
Owner

Hi,
Thanks for the documentation line, I'm merging.

Good idea and thank you for the PR.

@oKermorgant oKermorgant merged commit 6875d9e into oKermorgant:devel Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants