Skip to content

Commit 6bf4cd4

Browse files
authored
Merge pull request #10 from willcbaker/master
Fix install and move parameters to private namespace
2 parents 5fa06c6 + ecd9d5f commit 6bf4cd4

File tree

6 files changed

+158
-141
lines changed

6 files changed

+158
-141
lines changed

CMakeLists.txt

+15
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,18 @@ add_dependencies(demo patchworkpp_generate_messages_cpp)
7272
add_executable(video src/video.cpp)
7373
target_link_libraries(video ${catkin_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBRARIES})
7474
add_dependencies(video patchworkpp_generate_messages_cpp)
75+
76+
77+
# ==== Install ====
78+
install(TARGETS demo
79+
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
80+
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
81+
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
82+
)
83+
84+
install(DIRECTORY include/${PROJECT_NAME}/
85+
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})
86+
87+
install(DIRECTORY launch config
88+
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
89+
)

config/params.yaml

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
save_flag: true
22

3-
patchworkpp:
4-
5-
sensor_height: 1.723
3+
# patchworkpp:
64

7-
mode: "czm"
8-
verbose: false # To check effect of uprightness/elevation/flatness
9-
visualize: true # Ground Likelihood Estimation is visualized
10-
11-
# Ground Plane Fitting parameters
12-
num_iter: 3 # Number of iterations for ground plane estimation using PCA.
13-
num_lpr: 20 # Maximum number of points to be selected as lowest points representative.
14-
num_min_pts: 10 # Minimum number of points to be estimated as ground plane in each patch.
15-
th_seeds: 0.3 # threshold for lowest point representatives using in initial seeds selection of ground points.
16-
th_dist: 0.125 # threshold for thickenss of ground.
17-
th_seeds_v: 0.25 # threshold for lowest point representatives using in initial seeds selection of vertical structural points.
18-
th_dist_v: 0.1 # threshold for thickenss of vertical structure.
19-
max_r: 80.0 # max_range of ground estimation area
20-
min_r: 2.7 # min_range of ground estimation area
21-
uprightness_thr: 0.707 # threshold of uprightness using in Ground Likelihood Estimation(GLE). Please refer paper for more information about GLE.
5+
sensor_height: 1.723
226

23-
adaptive_seed_selection_margin: -1.2 # The points below the adaptive_seed_selection_margin * sensor_height are filtered
24-
czm:
25-
num_zones: 4
26-
num_sectors_each_zone: [16, 32, 54, 32]
27-
mum_rings_each_zone: [2, 4, 4, 4]
28-
elevation_thresholds: [0.0, 0.0, 0.0, 0.0] # threshold of elevation for each ring using in GLE. Those values are updated adaptively.
29-
flatness_thresholds: [0.0, 0.0, 0.0, 0.0] # threshold of flatness for each ring using in GLE. Those values are updated adaptively.
7+
mode: "czm"
8+
verbose: false # To check effect of uprightness/elevation/flatness
9+
visualize: true # Ground Likelihood Estimation is visualized
3010

31-
enable_RNR : true
32-
enable_RVPF : true
33-
enable_TGR : true
34-
35-
RNR_ver_angle_thr : -15.0 # Noise points vertical angle threshold. Downward rays of LiDAR are more likely to generate severe noise points.
36-
RNR_intensity_thr : 0.2 # Noise points intensity threshold. The reflected points have relatively small intensity than others.
11+
# Ground Plane Fitting parameters
12+
num_iter: 3 # Number of iterations for ground plane estimation using PCA.
13+
num_lpr: 20 # Maximum number of points to be selected as lowest points representative.
14+
num_min_pts: 10 # Minimum number of points to be estimated as ground plane in each patch.
15+
th_seeds: 0.3 # threshold for lowest point representatives using in initial seeds selection of ground points.
16+
th_dist: 0.125 # threshold for thickenss of ground.
17+
th_seeds_v: 0.25 # threshold for lowest point representatives using in initial seeds selection of vertical structural points.
18+
th_dist_v: 0.1 # threshold for thickenss of vertical structure.
19+
max_r: 80.0 # max_range of ground estimation area
20+
min_r: 2.7 # min_range of ground estimation area
21+
uprightness_thr: 0.707 # threshold of uprightness using in Ground Likelihood Estimation(GLE). Please refer paper for more information about GLE.
22+
23+
adaptive_seed_selection_margin: -1.2 # The points below the adaptive_seed_selection_margin * sensor_height are filtered
24+
czm:
25+
num_zones: 4
26+
num_sectors_each_zone: [16, 32, 54, 32]
27+
mum_rings_each_zone: [2, 4, 4, 4]
28+
elevation_thresholds: [0.0, 0.0, 0.0, 0.0] # threshold of elevation for each ring using in GLE. Those values are updated adaptively.
29+
flatness_thresholds: [0.0, 0.0, 0.0, 0.0] # threshold of flatness for each ring using in GLE. Those values are updated adaptively.
30+
31+
enable_RNR : true
32+
enable_RVPF : true
33+
enable_TGR : true
34+
35+
RNR_ver_angle_thr : -15.0 # Noise points vertical angle threshold. Downward rays of LiDAR are more likely to generate severe noise points.
36+
RNR_intensity_thr : 0.2 # Noise points intensity threshold. The reflected points have relatively small intensity than others.

0 commit comments

Comments
 (0)