Skip to content

Commit 72b686d

Browse files
committed
Increase scan filter queue_size
1 parent ae68b85 commit 72b686d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/slam_toolbox_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void SlamToolbox::setROSInterfaces()
217217
shared_from_this().get(), scan_topic_, rmw_qos_profile_sensor_data);
218218
scan_filter_ =
219219
std::make_unique<tf2_ros::MessageFilter<sensor_msgs::msg::LaserScan>>(
220-
*scan_filter_sub_, *tf_, odom_frame_, 1, shared_from_this(),
220+
*scan_filter_sub_, *tf_, odom_frame_, 5, shared_from_this(),
221221
tf2::durationFromSec(transform_timeout_.seconds()));
222222
scan_filter_->registerCallback(
223223
std::bind(&SlamToolbox::laserCallback, this, std::placeholders::_1));

0 commit comments

Comments
 (0)