Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
NodeStatus 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
25
void SleepAction::onHalt()
26
{
Callers
nothing calls this directly
Calls
1
toStr
Function · 0.50
Tested by
no test coverage detected