Skip to content

Commit

Permalink
Fixed a bug from autoware pointcloud merger (#111)
Browse files Browse the repository at this point in the history
Signed-off-by: Anh Nguyen <[email protected]>
  • Loading branch information
anhnv3991 authored Sep 10, 2024
1 parent 75537a7 commit 272b036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion map/autoware_pointcloud_merger/src/pcd_merger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void PCDMerger<PointT>::mergeWithDownsample(const std::vector<std::string> & inp
std::vector<std::string> seg_names;
fs::path tmp_path(tmp_dir_);

for (auto & entry : fs::directory_iterator(tmp_path)) {
for (auto & entry : fs::recursive_directory_iterator(tmp_path)) {
if (fs::is_regular_file(entry.symlink_status())) {
auto fname = entry.path().string();
auto ext = fname.substr(fname.size() - 4);
Expand Down

0 comments on commit 272b036

Please sign in to comment.