From 861024553ae9d2ed9ed94f060bb7ed2d6bf055a3 Mon Sep 17 00:00:00 2001 From: 99sphere <59161083+99sphere@users.noreply.github.com> Date: Thu, 26 Nov 2020 23:29:09 +0900 Subject: [PATCH] Update ROS_monodepth.py --- Depth/ROS_monodepth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Depth/ROS_monodepth.py b/Depth/ROS_monodepth.py index b2b9c55..7877b99 100644 --- a/Depth/ROS_monodepth.py +++ b/Depth/ROS_monodepth.py @@ -134,5 +134,5 @@ def callback(msg): depth_decoder.to(device) depth_decoder.eval() rospy.init_node('DepthMap', anonymous=True) - rospy.Subscriber('/image', Image, callback) + rospy.Subscriber('/image', Image, callback, queue_size=1) rospy.spin()