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

Method tick

tests/gtest_ports.cpp:170–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 {}
169
170 NodeStatus tick() override
171 {
172 int val_A = 0;
173 MyType val_B;
174 if(getInput("int_port", val_A) && getInput("any_port", val_B))
175 {
176 return NodeStatus::SUCCESS;
177 }
178 return NodeStatus::FAILURE;
179 }
180
181 static PortsList providedPorts()
182 {

Callers 1

TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected