## *********************************************************
## 
## File autogenerated for the pcl_ros package 
## by the dynamic_reconfigure package.
## Please do not edit.
## 
## ********************************************************/

from dynamic_reconfigure.encoding import extract_params

inf = float('inf')

config_description = {'upper': 'DEFAULT', 'lower': 'groups', 'srcline': 246, 'name': 'Default', 'parent': 0, 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'cstate': 'true', 'parentname': 'Default', 'class': 'DEFAULT', 'field': 'default', 'state': True, 'parentclass': '', 'groups': [], 'parameters': [{'srcline': 293, 'description': 'The spatial tolerance as a measure in the L2 Euclidean space', 'max': 2.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'cluster_tolerance', 'edit_method': '', 'default': 0.05, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 293, 'description': 'The minimum number of points that a cluster must contain in order to be accepted', 'max': 1000, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'cluster_min_size', 'edit_method': '', 'default': 1, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 293, 'description': 'The maximum number of points that a cluster must contain in order to be accepted', 'max': 2147483647, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'cluster_max_size', 'edit_method': '', 'default': 2147483647, 'level': 0, 'min': 0, 'type': 'int'}, {'srcline': 293, 'description': 'The maximum number of clusters to extract.', 'max': 2147483647, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'max_clusters', 'edit_method': '', 'default': 2147483647, 'level': 0, 'min': 1, 'type': 'int'}], 'type': '', 'id': 0}

min = {}
max = {}
defaults = {}
level = {}
type = {}
all_level = 0

#def extract_params(config):
#    params = []
#    params.extend(config['parameters'])    
#    for group in config['groups']:
#        params.extend(extract_params(group))
#    return params

for param in extract_params(config_description):
    min[param['name']] = param['min']
    max[param['name']] = param['max']
    defaults[param['name']] = param['default']
    level[param['name']] = param['level']
    type[param['name']] = param['type']
    all_level = all_level | param['level']

