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

Method onFailure

btcpp_ros2_samples/src/sleep_action.cpp:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19NodeStatus SleepAction::onFailure(ActionNodeErrorCode error)
20{
21 RCLCPP_ERROR(logger(), "%s: onFailure with error: %s", name().c_str(), toStr(error));
22 return NodeStatus::FAILURE;
23}
24
25void SleepAction::onHalt()
26{

Callers

nothing calls this directly

Calls 1

toStrFunction · 0.50

Tested by

no test coverage detected