Skip to content

Fix ActionNode added to an spinning node occasionally throwing std::runtime_error - #113

Closed
perry-reframe wants to merge 1 commit into
BehaviorTree:humblefrom
perry-reframe:fix_action_node_creation
Closed

Fix ActionNode added to an spinning node occasionally throwing std::runtime_error#113
perry-reframe wants to merge 1 commit into
BehaviorTree:humblefrom
perry-reframe:fix_action_node_creation

Conversation

@perry-reframe

Copy link
Copy Markdown
Contributor

If an ActionNode is created while the node it uses is already spinning, occasionally it will throw "Callback group has already been added to an executor".

The fix for this is largely replicated from the ServiceNode (here).

This also adds a print to indicate when an ActionClient was created, which mirrors similar behavior in the ServiceNode (here).

@facontidavide

Copy link
Copy Markdown
Collaborator

cherry picked only one of the changes

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