2013-05-11 03:29:09 +09:00
|
|
|
#! /usr/bin/env python
|
|
|
|
|
|
2013-05-20 10:14:54 -06:00
|
|
|
PACKAGE='pcl_ros'
|
2013-05-11 03:29:09 +09:00
|
|
|
|
2013-05-20 10:14:54 -06:00
|
|
|
from dynamic_reconfigure.parameter_generator_catkin import *
|
|
|
|
|
|
|
|
|
|
gen = ParameterGenerator()
|
2013-05-11 03:29:09 +09:00
|
|
|
|
|
|
|
|
# enabling/disabling the unit limits
|
|
|
|
|
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
|
|
|
|
|
gen.add ("cluster_tolerance", double_t, 0, "The spatial tolerance as a measure in the L2 Euclidean space", 0.05, 0.0, 2.0)
|
|
|
|
|
gen.add ("cluster_min_size", int_t, 0, "The minimum number of points that a cluster must contain in order to be accepted", 1, 0, 1000)
|
|
|
|
|
gen.add ("cluster_max_size", int_t, 0, "The maximum number of points that a cluster must contain in order to be accepted", 2147483647, 0, 2147483647)
|
|
|
|
|
gen.add ("max_clusters", int_t, 0, "The maximum number of clusters to extract.", 2147483647, 1, 2147483647)
|
|
|
|
|
|
|
|
|
|
exit (gen.generate (PACKAGE, "pcl_ros", "EuclideanClusterExtraction"))
|
|
|
|
|
|