MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.ROS2 / onFailure

Method onFailure

btcpp_ros2_samples/src/set_bool_node.cpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25BT::NodeStatus SetBoolService::onFailure(BT::ServiceNodeErrorCode error)
26{
27 RCLCPP_ERROR(logger(), "Error: %d", error);
28 return BT::NodeStatus::FAILURE;
29}
30
31//-----------------------------------------------------------
32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected