Skip to content

Commit

Permalink
Increase scan filter queue_size
Browse files Browse the repository at this point in the history
  • Loading branch information
samiamlabs committed Aug 24, 2022
1 parent 62bbf07 commit eedab07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slam_toolbox_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ void SlamToolbox::setROSInterfaces()
shared_from_this().get(), scan_topic_, rmw_qos_profile_sensor_data);
scan_filter_ =
std::make_unique<tf2_ros::MessageFilter<sensor_msgs::msg::LaserScan>>(
*scan_filter_sub_, *tf_, odom_frame_, 1, shared_from_this(),
*scan_filter_sub_, *tf_, odom_frame_, 5, shared_from_this(),
tf2::durationFromSec(transform_timeout_.seconds()));
scan_filter_->registerCallback(
std::bind(&SlamToolbox::laserCallback, this, std::placeholders::_1));
Expand Down

0 comments on commit eedab07

Please sign in to comment.