Skip to content

Commit eb5a6a8

Browse files
committed
update codes
1 parent 13fe368 commit eb5a6a8

File tree

7 files changed

+401
-59
lines changed

7 files changed

+401
-59
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ These complementary aspects require different evaluation approaches, as global d
2727

2828
## News
2929

30-
- **2025/07/05:** Update the parameter setting and more config examples.
30+
- **2025/07/06:** Use tbb to accerlerate mme caculation, update the parameter setting and more config examples.
3131
- **2025/05/05:** Add new test data and remove the simulation codes.
3232
- **2025/03/05**: [Formally published](https://ieeexplore.ieee.org/document/10910156)!
3333
- **2025/02/25**: Accept!
@@ -93,6 +93,7 @@ These complementary aspects require different evaluation approaches, as global d
9393
- *[Open3d ( >= 0.11)](https://github.com/isl-org/Open3D)*
9494
- Eigen3
9595
- yaml-cpp
96+
- Tbb
9697
- Ubuntu 20.04
9798

9899
### Test Data(password: 1)

map_eval/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ set(CMAKE_CXX_STANDARD 17)
55
set(CMAKE_BUILD_TYPE Release)
66

77
#if you can not find your open3d install path, just mannually set it
8-
set(Open3D_DIR "/home/xchu/xicp_ws/devel/.private/open3d_catkin/lib/cmake/Open3D")
9-
message(STATUS "LTLoc: Set Open3D_DIR to ${Open3D_DIR}") # 打印信息,确认设置生效
8+
#set(Open3D_DIR "/home/xchu/xicp_ws/devel/.private/open3d_catkin/lib/cmake/Open3D")
9+
#message(STATUS "LTLoc: Set Open3D_DIR to ${Open3D_DIR}") # 打印信息,确认设置生效
1010

1111
find_package(Open3D REQUIRED)
1212
find_package(Eigen3 REQUIRED)
1313
find_package(OpenMP REQUIRED)
1414
find_package(PCL REQUIRED)
1515
find_package(yaml-cpp REQUIRED)
16+
find_package(TBB REQUIRED)
1617

1718
message(STATUS "yaml-cpp library: ${YAML_CPP_LIBRARY}")
1819
message(STATUS "yaml-cpp include: ${YAML_CPP_INCLUDE_DIR}")
@@ -31,7 +32,7 @@ include_directories(
3132
)
3233

3334
add_executable(map_eval src/map_eval.cpp src/map_eval_main.cpp src/voxel_calculator.cpp)
34-
target_link_libraries(map_eval ${Open3D_LIBRARIES} ${PCL_LIBRARIES} yaml-cpp)
35+
target_link_libraries(map_eval ${Open3D_LIBRARIES} ${PCL_LIBRARIES} yaml-cpp TBB::tbb)
3536

3637

3738

map_eval/config/config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ save_immediate_result: true
3737
# it costs a lot of time to calculate MME, so we set it as false by default
3838
evaluate_mme: false
3939

40+
# if use TBB acceleration for MME calculation
41+
use_tbb_mme: true
42+
4043
# if we have ground truth map, we also want to evaluate the MME of the ground truth map
4144
evaluate_gt_mme: false
4245

@@ -66,4 +69,5 @@ downsample_size: 0.01
6669
use_visualization: true
6770

6871
# if print the debug info
69-
enable_debug: true
72+
enable_debug: false
73+

map_eval/config/config_building_day.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ gt_map_path: /media/xchu/e81eaf80-d92c-413a-a503-1c9b35b19963/home/xchu/data/eva
2626

2727

2828
# scene name, not important, just for batch processing for a series of scenes
29-
scene_name: stairs
29+
scene_name: building_day
3030

3131
# other settings
3232
# if we save the immediate result to a text file
@@ -35,7 +35,10 @@ save_immediate_result: true
3535
# if evaluate Mean Map Entropy (MME) if you do not have ground truth map
3636
# but remember, MME can be only used for map comparison with the same scale, e.g., maps are for odometry.
3737
# it costs a lot of time to calculate MME, so we set it as false by default
38-
evaluate_mme: false
38+
evaluate_mme: true
39+
40+
# if use TBB acceleration for MME calculation
41+
use_tbb_mme: true
3942

4043
# if we have ground truth map, we also want to evaluate the MME of the ground truth map
4144
evaluate_gt_mme: false
@@ -63,7 +66,7 @@ vmd_voxel_size: 2.0
6366
downsample_size: 0.01
6467

6568
# if show the evaluation error map after registration
66-
use_visualization: true
69+
use_visualization: false
6770

6871
# if print the debug info
6972
enable_debug: true

0 commit comments

Comments
 (0)