Skip to content

Allow disabling the groot publisher by setting port to zero - #138

Closed
thettasch-samxl wants to merge 1 commit into
BehaviorTree:humblefrom
sam-xl:feat/disable-groot-publishing
Closed

thettasch-samxl wants to merge 1 commit into
BehaviorTree:humblefrom
sam-xl:feat/disable-groot-publishing

Conversation

@thettasch-samxl

Copy link
Copy Markdown

Allows the groot publisher to be disabled when not needed, by setting the groot port to zero.

Default behaviour is unaffected.

This is especially useful for running multiple instances of the behavior tree server concurrently without multiple processes trying to use the same port (which causes the later ones to fail executing behaviour trees altogether).

@facontidavide

Copy link
Copy Markdown
Collaborator

I don't understand. If you want to disable, don't launch it

@facontidavide

Copy link
Copy Markdown
Collaborator

This configuration is part of your code, not my library

@thettasch-samxl

Copy link
Copy Markdown
Author

Sorry, my title was unclear. This patch makes it possible to disable the groot publisher. Currently, no matter what the groot2_port parameter is set to, a groot2 publisher will be started by the tree execution server. After applying my patch, setting the parameter to zero disables the publisher altogether.

@thettasch-samxl thettasch-samxl changed the title Disable groot publisher by setting port to zero Allow disabling the groot publisher by setting port to zero Nov 16, 2026
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