## *********************************************************
## 
## File autogenerated for the people_detect 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': 'Indicates that the camera_info topic should be subscribed to to get the default input_frame_id. Otherwise the frame from the image message will be used.', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'use_camera_info', 'edit_method': '', 'default': True, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 293, 'description': 'Threshold for the distance between features and SVM classifying plane.', 'max': 10.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'hit_threshold', 'edit_method': '', 'default': 0.0, 'level': 150, 'min': 0.0, 'type': 'double'}, {'srcline': 293, 'description': 'Window stride. It must be a multiple of block stride.', 'max': 100, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'win_stride', 'edit_method': '', 'default': 8, 'level': 8, 'min': 1, 'type': 'int'}, {'srcline': 293, 'description': 'Mock parameter to keep the CPU interface compatibility. It must be (0,0).', 'max': 128, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'padding', 'edit_method': '', 'default': 32, 'level': 32, 'min': 0, 'type': 'int'}, {'srcline': 293, 'description': 'Coefficient of the detection window increase.', 'max': 100.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'scale0', 'edit_method': '', 'default': 1.05, 'level': 1.05, 'min': 1.0, 'type': 'double'}, {'srcline': 293, 'description': 'Coefficient to regulate the similarity threshold. When detected, some objects can be covered by many rectangles. 0 means not to perform grouping.', 'max': 100, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '//usr/lib/python2.7/site-packages/dynamic_reconfigure/parameter_generator_catkin.py', 'name': 'group_threshold', 'edit_method': '', 'default': 2, 'level': 2, 'min': 0, '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']

