pcl_tutorial/cfg/config.cfg
2022-04-25 16:34:21 +02:00

39 lines
2.0 KiB
Python
Executable File

#!/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)
gen.add("rotx", double_t, 0, "Rotation of cloud around X - Axis", 0, 0, 180)
gen.add("roty", double_t, 0, "Rotation of cloud around Y - Axis", 45, 0, 180)
gen.add("rotz", double_t, 0, "Rotation of cloud around Z - Axis", 0, 0, 180)
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)
exit(gen.generate(PACKAGE, "pcl_tutorial", "config"))