Skip to content

Commit

Permalink
bugfix in ros_topic_wait_for_topics action (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmirus authored Jun 27, 2024
1 parent 11b06f4 commit 7356b31
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class RosTopicWaitForTopics(py_trees.behaviour.Behaviour):
Class to check if ROS topic are available
"""

def __init__(self, topics: list):
super().__init__('RosTopicWaitForTopics')
def __init__(self, name, topics: list):
super().__init__(name)
if not isinstance(topics, list):
raise TypeError(f'Topics needs to be list of topics, got {type(topics)}.')
else:
Expand Down

0 comments on commit 7356b31

Please sign in to comment.