Skip to content

Commit

Permalink
Reduce telemetry publisher intervals
Browse files Browse the repository at this point in the history
This is causing an issue in Flotilla as there are simply too many
database updates. This is not a solution but a quick fix until we
find a long term solution in Flotilla.
  • Loading branch information
aeshub committed Oct 27, 2023
1 parent 8529cb1 commit 092424d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/isar_robot/robotinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_telemetry_publishers(
mqtt_queue=queue,
telemetry_method=self._get_pose_telemetry,
topic=f"isar/{isar_id}/pose",
interval=1,
interval=5,
retain=False,
)
pose_thread: Thread = Thread(
Expand All @@ -133,7 +133,7 @@ def get_telemetry_publishers(
mqtt_queue=queue,
telemetry_method=self._get_battery_telemetry,
topic=f"isar/{isar_id}/battery",
interval=5,
interval=30,
retain=False,
)
battery_thread: Thread = Thread(
Expand All @@ -148,7 +148,7 @@ def get_telemetry_publishers(
mqtt_queue=queue,
telemetry_method=self._get_obstacle_status_telemetry,
topic=f"isar/{isar_id}/obstacle_status",
interval=1,
interval=10,
retain=False,
)
obstacle_status_thread: Thread = Thread(
Expand Down

0 comments on commit 092424d

Please sign in to comment.