Skip to content

Commit

Permalink
increate publish rate
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimhroob committed Oct 10, 2024
1 parent 8af1aae commit 45beadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autonomy_metrics/autonomy_metrics/metric_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def __init__(self):

# Heartbeat publisher
self.heartbeat_publisher = self.create_publisher(Bool, 'mdbi_logger/heartbeat', 10)
self.heartbeat_timer = self.create_timer(5.0, self.publish_heartbeat) # Publish every 5 seconds
self.heartbeat_timer = self.create_timer(1.0, self.publish_heartbeat) # Publish every 5 seconds

def publish_heartbeat(self):
# Create and publish the heartbeat message
Expand Down

0 comments on commit 45beadd

Please sign in to comment.