Change publish queue size

This commit is contained in:
John Zhao 2018-11-25 16:05:51 +08:00
parent 4fcdb6fc7b
commit f0d2950701

View File

@ -198,10 +198,10 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
{Stream::DISPARITY_NORMALIZED, enc::MONO8}, {Stream::DISPARITY_NORMALIZED, enc::MONO8},
{Stream::DEPTH, enc::MONO16}}; {Stream::DEPTH, enc::MONO16}};
pub_imu_ = nh_.advertise<sensor_msgs::Imu>(imu_topic, 1); pub_imu_ = nh_.advertise<sensor_msgs::Imu>(imu_topic, 100);
NODELET_INFO_STREAM("Advertized on topic " << imu_topic); NODELET_INFO_STREAM("Advertized on topic " << imu_topic);
pub_temp_ = nh_.advertise<mynt_eye_ros_wrapper::Temp>(temp_topic, 1); pub_temp_ = nh_.advertise<mynt_eye_ros_wrapper::Temp>(temp_topic, 100);
NODELET_INFO_STREAM("Advertized on topic " << temp_topic); NODELET_INFO_STREAM("Advertized on topic " << temp_topic);
// stream toggles // stream toggles