We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 570f786 commit b20c93cCopy full SHA for b20c93c
include/behaviortree_ros2/bt_action_node.hpp
@@ -187,15 +187,6 @@ template<class T> inline
187
// - we use the action_name in the port and it is a static string.
188
// - we use the action_name in the port and it is blackboard entry.
189
190
- // Port must exist, even if empty, since we have a default value at least
191
- if(!getInput<std::string>("action_name"))
192
- {
193
- throw std::logic_error(
194
- "Can't find port [action_name]. "
195
- "Did you forget to use RosActionNode::providedBasicPorts() "
196
- "in your derived class?");
197
- }
198
-
199
// check port remapping
200
auto portIt = config().input_ports.find("action_name");
201
if(portIt != config().input_ports.end())
0 commit comments