diff --git a/src/slam_toolbox_common.cpp b/src/slam_toolbox_common.cpp index 352e16e48..4e8b91ffd 100644 --- a/src/slam_toolbox_common.cpp +++ b/src/slam_toolbox_common.cpp @@ -211,7 +211,7 @@ void SlamToolbox::setROSInterfaces() shared_from_this().get(), scan_topic_, rmw_qos_profile_sensor_data); scan_filter_ = std::make_unique >( - *scan_filter_sub_, *tf_, odom_frame_, 10, shared_from_this()); + *scan_filter_sub_, *tf_, odom_frame_, 1, shared_from_this()); scan_filter_->registerCallback( std::bind(&SlamToolbox::laserCallback, this, std::placeholders::_1)); }