Skip to content

Commit 80c8850

Browse files
committed
Merge pull request #5 from clearpathrobotics/core-1738-queue_size
CORE-1738: wireless watcher dies - queue_size update
2 parents 501c1e6 + 70e3f95 commit 80c8850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wireless_watcher/nodes/watcher_node

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ class Network(wireless_msgs.msg.Network):
4747
super(Network, self).__init__(**args)
4848

4949

50-
connection_pub = rospy.Publisher('connection', Connection)
50+
connection_pub = rospy.Publisher('connection', Connection, queue_size=1)
5151

5252
# Disable this until we actually collect and publish the data.
5353
# network_pub = rospy.Publisher('network', Network)
5454

55-
connected_pub = rospy.Publisher('connected', std_msgs.msg.Bool)
55+
connected_pub = rospy.Publisher('connected', std_msgs.msg.Bool, queue_size=1)
5656

5757
while not rospy.is_shutdown():
5858
try:

0 commit comments

Comments
 (0)