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

Problem with Action Client in tree #213

Open
marcusnorgren opened this issue May 25, 2023 · 0 comments
Open

Problem with Action Client in tree #213

marcusnorgren opened this issue May 25, 2023 · 0 comments

Comments

@marcusnorgren
Copy link

Hello,
I have in my behavior tree, three ActionClient-tree-nodes created from: Behaviors.action_clients.FromConstant(...)
They all use the same topic "my_topic"
They all use the same action_type "my_type"
.
In my ros-node, an ActionServer is listening for the topic "my_topic", and the type "my_type".

When sending the first goal from the first action-tree-node, everything works and I get "Goal reuqest sent", then "Goal Accepted", followed by "Goal Succeeded", when it completes (i.e. I set in my callback goal_handle.succeed()) and then return Result().

But the second time the Server callback is triggered, the response is just "Goal request sent", then "Cancelling goal". I do not cancel the goal, why is it being cancelled?

Then the third time, the response is just "Goal request sent", with nothing else on the subsequent ticks.

Has someone encountered this?
Thanks,
Marcus

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

No branches or pull requests

1 participant