New Behavior Tree Action Node not Initializing in ros-planning/navigation2

asked 2021-06-23 12:23:47 -0500

KevinRobots gravatar image

I tried asking this question on their issues, but they suggested that I try here instead. Below is the information for the problem, but in short when I try to create a new action node for the behavior tree instead of being initialized when I use it it hangs on "Waiting for "wait_to" action server". It never gets to ""WaitTo" BtActionNode initialized". The new action that I created is called "WaitTo" and was created by copying the "Wait" action and changing it to "WaitTo". I have let the code sit for 10+ minutes and the action node still does not initialize. Please let me know if there is anything more information I can provide to solve this problem.

Operating System: Ubuntu 20.04

ROS2 Version: Foxy

Version or commit hash: Version 0.4.7

DDS implementation: FastRTPS

Steps to reproduce issue

Create a custom node. What I did was just copy and paste the "wait" action and then change it to "wait_to" action.
Create a behavior tree using the custom action.
Run the bt_navigator so that it tries to initialize the node.

Expected behavior

Starts up action server for the new action node "wait_to" that is created by me.

Actual behavior

Does not start up action server for new action node created. Instead the action server says that it's "Waiting for "wait_to" action server, but never says afterwards ""WaitTo" BtActionNode initialized". Below is an example of what happens on the terminal.

edit retag flag offensive close merge delete