00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 config_description = [{'srcline': 42, 'description': 'The minimum height to include from the point cloud.', 'max': 100.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'min_height', 'edit_method': '', 'default': 0.10000000000000001, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 43, 'description': 'The maximum height to include from the point cloud.', 'max': 100.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'max_height', 'edit_method': '', 'default': 0.14999999999999999, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 45, 'description': 'The minimum angle of the resulting laser scan.', 'max': 3.1415926535897931, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'angle_min', 'edit_method': '', 'default': -1.5707963267948966, 'level': 0, 'min': -3.1415926535897931, 'type': 'double'}, {'srcline': 46, 'description': 'The maximum angle of the resulting laser scan.', 'max': 3.1415926535897931, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'angle_max', 'edit_method': '', 'default': 1.5707963267948966, 'level': 0, 'min': -3.1415926535897931, 'type': 'double'}, {'srcline': 47, 'description': 'The angle increment of the resulting laser scan.', 'max': 3.1415926535897931, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'angle_increment', 'edit_method': '', 'default': 0.0087266462599716477, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 48, 'description': 'The scan time of the resulting laser scan.', 'max': 1.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'scan_time', 'edit_method': '', 'default': 0.033333333333333333, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 49, 'description': 'The minimum range of the resulting laser scan.', 'max': 100.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'range_min', 'edit_method': '', 'default': 0.45000000000000001, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 50, 'description': 'The maximum range of the resulting laser scan.', 'max': 100.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'range_max', 'edit_method': '', 'default': 10.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 52, 'description': 'The frame id of the resulting laser scan.', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '../cfg/CloudScan.cfg', 'name': 'output_frame_id', 'edit_method': '', 'default': '/openi_depth_frame', 'level': 0, 'min': '', 'type': 'str'}]
00044
00045 min = {}
00046 max = {}
00047 defaults = {}
00048 level = {}
00049 type = {}
00050 all_level = 0
00051
00052 for param in config_description:
00053 min[param['name']] = param['min']
00054 max[param['name']] = param['max']
00055 defaults[param['name']] = param['default']
00056 level[param['name']] = param['level']
00057 type[param['name']] = param['type']
00058 all_level = all_level | param['level']
00059