diff --git a/amcl/src/amcl_node.cpp b/amcl/src/amcl_node.cpp index b0e11d1bbe..7075839108 100644 --- a/amcl/src/amcl_node.cpp +++ b/amcl/src/amcl_node.cpp @@ -836,7 +836,7 @@ void AmclNode::checkLaserReceived(const ros::TimerEvent& event) { ros::Duration d = ros::Time::now() - last_laser_received_ts_; - if(d > laser_check_interval_) + if(d < laser_check_interval_) { ROS_WARN("No laser scan received (and thus no pose updates have been published) for %f seconds. Verify that data is being published on the %s topic.", d.toSec(),