Skip to content

Commit

Permalink
fix select paramater for nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
atiderko committed Oct 26, 2023
1 parent 3f479ed commit 7fac353
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def getNodeParameters(self, nodes: List[str]) -> List[RosParameter]:
for node_name in nodes:
for param_name in param_name_list:
# discard parameters that does not belong to the node
if node_name not in param_name:
if f'{node_name}/' not in param_name:
continue
param_value = rospy.get_param(param_name)
param_list.append(RosParameter(param_name, param_value))
Expand Down

0 comments on commit 7fac353

Please sign in to comment.