Update 'src/pubsub/pubsub/pubsub_library_v4.py'

This commit is contained in:
Christopher Herr 2023-04-20 19:51:34 +02:00
parent f9973e9c78
commit dc0e4a48cd

View File

@ -98,7 +98,7 @@ class MinimalSubscriber(Node):
self.topic_received = False
self.overflow = False
self.watchdog = 0
# Init above laying class "Node"
self.msg = None
super().__init__(self.NODE_NAME)
self.subscription = self.create_subscription(
self.CUSTOM_MSG, # Message Type