Skip to content

BT Action Nodes crash bt_navigator node upon action server call timeout #2376

@paucarre

Description

@paucarre

Bug report

  • Operating System: Ubuntu 20.04
  • ROS2 Version: foxy
  • Version or commit hash: 2e18dd1
  • DDS implementation: Fast-RTPS

Steps to reproduce issue

  • Use any Behavior Tree Action Node ( BT::ActionNodeBase )
  • Call an action with lower-than-needed timeout.

Expected behavior

  • The action node itself should return a BT::NodeStatus::FAILURE whenever a problem occurs.
  • Whenever there is an error, clear and detailed error logs should be provided.
  • The ros2 node holding the BT engine ( like bt_navigator ) should not die
  • The BT engine should keep running the tree (for instance, running a recovery node )

Actual behavior

  • The whole ros2 node holding the BT engine crashes ( bt_navigator ), thus no recovery node is execute but rather the whole BT execution is suddenly halted
  • No meaningful logs provided ( only "send_goal failed" )
  • ros2 daemon needs to restart to see the bt_navigator node again ( after the bt_navigator node is re-launched after it crashes ).

Feature request

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions