| 214 | { |
| 215 | public: |
| 216 | ReadInConstructor(const std::string& name, const BT::NodeConfig& config) |
| 217 | : BT::SyncActionNode(name, config) |
| 218 | { |
| 219 | auto msg = getInput<std::string>("message"); |
| 220 | if(!msg) |
| 221 | { |
| 222 | throw BT::RuntimeError("missing required input [message]: ", msg.error()); |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | BT::NodeStatus tick() override |
| 227 | { |
nothing calls this directly
no test coverage detected