Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BehaviorTree/BehaviorTree.CPP
/ CheckBattery
Function
CheckBattery
sample_nodes/dummy_nodes.cpp:14–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
{
13
14
BT::NodeStatus CheckBattery()
15
{
16
std::cout <<
"[ Battery: OK ]"
<< std::endl;
17
return BT::NodeStatus::SUCCESS;
18
}
19
20
BT::NodeStatus CheckTemperature()
21
{
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected