BehaviorTree / BehaviorTree.ROS2

BehaviorTree.CPP utilities to work with ROS2
Apache License 2.0
144 stars 59 forks source link

BT Not Running / Failed When Running Inside Docker Container #59

Closed mich1342 closed 4 months ago

mich1342 commented 4 months ago

Hi,

I am trying to dockerized my behavior tree calling several ros2 actions server. The action servers are running inside another container.

Everything works well if I run the behavior tree outside the docker.

When running inside the docker, it keeps telling that the action server is unreachable and kills itself. When I tried to enter the docker container terminal, I could list all the action servers using the ros2 action list command.

Could it be caused by it needs some time to recognize / discover the action server?

Thank you in advance

facontidavide commented 4 months ago

Hi,

I don't believe that this problem is directly related to this library. If you find the issue and it does indeed require a change in the library, let me know