diff --git a/scripts/visualizer.py b/scripts/visualizer.py index 1293d096..fe787f9c 100755 --- a/scripts/visualizer.py +++ b/scripts/visualizer.py @@ -98,17 +98,11 @@ def __init__(self, state_machine_instance, *args, **kwargs): self.viz = Node("Visualizer") self.viz.create_subscription( - StateMachineStructure, - STRUCTURE_TOPIC, - self.state_machine.container_structure_callback, - 1 + StateMachineStructure, STRUCTURE_TOPIC, self.state_machine.container_structure_callback, 1 ) self.viz.create_subscription( - StateMachineStateUpdate, - STATUS_TOPIC, - self.state_machine.container_status_callback, - 1 + StateMachineStateUpdate, STATUS_TOPIC, self.state_machine.container_status_callback, 1 ) def paintEvent(self, event): @@ -144,13 +138,10 @@ def main(): signal.signal(signal.SIGINT, signal.SIG_DFL) state_machine = StateMachine() - print("Node Created...") - print("Subscriptions Created...") - app = QApplication([]) # type: ignore g = GUI(state_machine) g.show()