Skip to content

Commit

Permalink
remove resizing on update message callback (#2818)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriimaistruk authored Feb 15, 2022
1 parent f1d25e9 commit f370dfa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nav2_costmap_2d/plugins/static_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,7 @@ StaticLayer::incomingUpdate(map_msgs::msg::OccupancyGridUpdate::ConstSharedPtr u
costmap_[index] = interpretValue(update->data[di++]);
}
}

x_ = update->x;
y_ = update->y;
width_ = update->width;
height_ = update->height;

has_updated_data_ = true;
}

Expand Down

0 comments on commit f370dfa

Please sign in to comment.