Skip to content

Commit

Permalink
Rename to publishers
Browse files Browse the repository at this point in the history
  • Loading branch information
aeshub committed Feb 8, 2023
1 parent abb9ca8 commit 2d0c966
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,23 @@
)
threads.append(mqtt_thread)

robot_status: RobotStatusPublisher = RobotStatusPublisher(
robot_status_publisher: RobotStatusPublisher = RobotStatusPublisher(
mqtt_queue=queues.mqtt_queue, robot=robot, state_machine=state_machine
)
robot_status_thread: Thread = Thread(
target=robot_status.run, name="ISAR Robot Status Publisher", daemon=True
target=robot_status_publisher.run,
name="ISAR Robot Status Publisher",
daemon=True,
)
threads.append(robot_status_thread)

robot_info: RobotInfoPublisher = RobotInfoPublisher(
robot_info_publisher: RobotInfoPublisher = RobotInfoPublisher(
mqtt_queue=queues.mqtt_queue
)
robot_info_thread: Thread = Thread(
target=robot_info.run, name="ISAR Robot Info Publisher", daemon=True
target=robot_info_publisher.run,
name="ISAR Robot Info Publisher",
daemon=True,
)
threads.append(robot_info_thread)

Expand Down

0 comments on commit 2d0c966

Please sign in to comment.