Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BehaviorTree/BehaviorTree.CPP
/ passThroughDoor
Method
passThroughDoor
sample_nodes/crossdoor_nodes.cpp:21–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
}
20
21
NodeStatus CrossDoor::passThroughDoor()
22
{
23
SleepMS(500);
24
return _door_open ? NodeStatus::SUCCESS : NodeStatus::FAILURE;
25
}
26
27
NodeStatus CrossDoor::openDoor()
28
{
Callers
nothing calls this directly
Calls
1
SleepMS
Function · 0.85
Tested by
no test coverage detected