MCPcopy 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
21NodeStatus CrossDoor::passThroughDoor()
22{
23 SleepMS(500);
24 return _door_open ? NodeStatus::SUCCESS : NodeStatus::FAILURE;
25}
26
27NodeStatus CrossDoor::openDoor()
28{

Callers

nothing calls this directly

Calls 1

SleepMSFunction · 0.85

Tested by

no test coverage detected