MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / tick

Method tick

tests/gtest_ports.cpp:595–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593 {}
594
595 NodeStatus tick() override
596 {
597 auto res = getInput<std::string>("log_name");
598 if(!res)
599 {
600 throw RuntimeError("getInput failed: " + res.error());
601 }
602 result = res.value();
603 return NodeStatus::SUCCESS;
604 }
605
606 static PortsList providedPorts()
607 {

Callers

nothing calls this directly

Calls 2

RuntimeErrorClass · 0.85
valueMethod · 0.45

Tested by

no test coverage detected