2022-04-22 15:51:53 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
PACKAGE = "pcl_tutorial"
|
|
|
|
|
|
|
|
|
|
from dynamic_reconfigure.parameter_generator_catkin import *
|
|
|
|
|
|
|
|
|
|
gen = ParameterGenerator()
|
|
|
|
|
|
|
|
|
|
gen.add("xbpos", double_t, 0, "Max bound of X - Axis cropping", 5, -5, 5)
|
|
|
|
|
gen.add("xbneg", double_t, 0, "Min bound of X - Axis cropping", 0, -5, 5)
|
|
|
|
|
|
|
|
|
|
gen.add("ybpos", double_t, 0, "Max bound of Y - Axis cropping", 5, -5, 5)
|
|
|
|
|
gen.add("ybneg", double_t, 0, "Min bound of Y - Axis cropping", -5, -5, 5)
|
|
|
|
|
|
|
|
|
|
gen.add("zbpos", double_t, 0, "Max bound of Z - Axis cropping", 5, -5, 5)
|
|
|
|
|
gen.add("zbneg", double_t, 0, "Min bound of Z - Axis cropping", 0, -5, 5)
|
|
|
|
|
|
2022-04-25 16:34:21 +02:00
|
|
|
gen.add("rotx", double_t, 0, "Rotation of cloud around X - Axis", 0, 0, 180)
|
2022-05-02 14:07:50 +02:00
|
|
|
gen.add("roty", double_t, 0, "Rotation of cloud around Y - Axis", 0, 0, 180)
|
2022-04-25 16:34:21 +02:00
|
|
|
gen.add("rotz", double_t, 0, "Rotation of cloud around Z - Axis", 0, 0, 180)
|
2022-04-22 15:51:53 +02:00
|
|
|
|
2022-04-25 16:34:21 +02:00
|
|
|
gen.add("movex", double_t, 0, "Move along X - Axis", 0, -10, 10)
|
|
|
|
|
gen.add("movey", double_t, 0, "Move along Y - Axis", 0, -10, 10)
|
|
|
|
|
gen.add("movez", double_t, 0, "Move along Z - Axis", 0, -10, 10)
|
|
|
|
|
|
|
|
|
|
gen.add("passx_min", double_t, 0, "Start value for Passthrough Filtering for X - Axis", 0.0, -5.0 , 5.0)
|
|
|
|
|
gen.add("passx_max", double_t, 0, "End value for Passthrough Filtering for X - Axis", 5.0, -5.0 , 5.0)
|
|
|
|
|
gen.add("passy_min", double_t, 0, "Start value for Passthrough Filtering for Y - Axis", -5.0, -5.0 , 5.0)
|
|
|
|
|
gen.add("passy_max", double_t, 0, "End value for Passthrough Filtering for Y - Axis", 5.0, -5.0 , 5.0)
|
|
|
|
|
gen.add("passz_min", double_t, 0, "Start value for Passthrough Filtering for Z - Axis", 0.0, -5.0 , 5.0)
|
|
|
|
|
gen.add("passz_max", double_t, 0, "End value for Passthrough Filtering for Z - Axis", 5.0, -5.0 , 5.0)
|
|
|
|
|
|
|
|
|
|
gen.add("voxel_size", double_t, 0, "Size of the Leafs for the Voxel Filter", 0.02, 0.0 , 0.1)
|
|
|
|
|
|
|
|
|
|
gen.add("Pseg_dist", double_t, 0, "Point distance for planar segmentation", 0.025, 0.0 , 0.05)
|
|
|
|
|
|
|
|
|
|
gen.add("green_thresh", int_t, 0, "Green threshold for color filtering", 150, 0 , 255)
|
2022-04-22 15:51:53 +02:00
|
|
|
|
2022-04-26 17:26:32 +02:00
|
|
|
gen.add("cluster_on", bool_t, 0, "determines if Euclidean Clustering is applied", False)
|
|
|
|
|
|
2022-05-03 16:38:52 +02:00
|
|
|
gen.add("create_feature_map", bool_t, 0, "determines if feature map will be created", False)
|
|
|
|
|
|
|
|
|
|
gen.add("line_fitting_on", bool_t, 0, "determines line will be searched for clusters", False)
|
|
|
|
|
|
2022-04-22 15:51:53 +02:00
|
|
|
exit(gen.generate(PACKAGE, "pcl_tutorial", "config"))
|