File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
include/behaviortree_ros2 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ class RosActionNode : public BT::ActionNodeBase
167
167
bool goal_received_;
168
168
WrappedResult result_;
169
169
170
- bool createClient (const std::string &server_name );
170
+ bool createClient (const std::string &action_name );
171
171
};
172
172
173
173
// ----------------------------------------------------------------
@@ -188,10 +188,10 @@ template<class T> inline
188
188
// - we use the action_name in the port and it is blackboard entry.
189
189
190
190
// Port must exist, even if empty, since we have a default value at least
191
- if (!getInput<std::string>(" server_name " ))
191
+ if (!getInput<std::string>(" action_name " ))
192
192
{
193
193
throw std::logic_error (
194
- " Can't find port [server_name ]. "
194
+ " Can't find port [action_name ]. "
195
195
" Did you forget to use RosActionNode::providedBasicPorts() "
196
196
" in your derived class?" );
197
197
}
You can’t perform that action at this time.
0 commit comments