We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6401f3c commit aacc561Copy full SHA for aacc561
nav2_costmap_2d/src/costmap_2d_ros.cpp
@@ -538,7 +538,7 @@ Costmap2DROS::mapUpdateLoop(double frequency)
538
auto map_current = isCurrent();
539
if (map_current && // only update costmap if it's current
540
((last_publish_ + publish_cycle_ < current_time) || // publish_cycle_ is due
541
- (current_time < last_publish_))) // time has moved backwards, probably due to a switch to sim_time // NOLINT
+ (current_time < last_publish_))) // time has moved backwards, probably due to a switch to sim_time // NOLINT
542
{
543
RCLCPP_DEBUG(get_logger(), "Publish costmap at %s", name_.c_str());
544
costmap_publisher_->publishCostmap();
0 commit comments