From f0d2950701af746ffda081a6bb34bdeced3cc988 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Sun, 25 Nov 2018 16:05:51 +0800 Subject: [PATCH] Change publish queue size --- wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc index cbc0110..189418e 100644 --- a/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc +++ b/wrappers/ros/src/mynt_eye_ros_wrapper/src/wrapper_nodelet.cc @@ -198,10 +198,10 @@ class ROSWrapperNodelet : public nodelet::Nodelet { {Stream::DISPARITY_NORMALIZED, enc::MONO8}, {Stream::DEPTH, enc::MONO16}}; - pub_imu_ = nh_.advertise(imu_topic, 1); + pub_imu_ = nh_.advertise(imu_topic, 100); NODELET_INFO_STREAM("Advertized on topic " << imu_topic); - pub_temp_ = nh_.advertise(temp_topic, 1); + pub_temp_ = nh_.advertise(temp_topic, 100); NODELET_INFO_STREAM("Advertized on topic " << temp_topic); // stream toggles