Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Sep 15, 2024
1 parent 3d6c666 commit cc204be
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions scripts/visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit cc204be

Please sign in to comment.