CloudScanConfig.py
Go to the documentation of this file.
00001 ## *********************************************************
00002 ## 
00003 ## File autogenerated for the pointcloud_to_laserscan package 
00004 ## by the dynamic_reconfigure package.
00005 ## Please do not edit.
00006 ## 
00007 ## ********************************************************/
00008 
00009 ##**********************************************************
00010 ## Software License Agreement (BSD License)
00011 ##
00012 ##  Copyright (c) 2008, Willow Garage, Inc.
00013 ##  All rights reserved.
00014 ##
00015 ##  Redistribution and use in source and binary forms, with or without
00016 ##  modification, are permitted provided that the following conditions
00017 ##  are met:
00018 ##
00019 ##   * Redistributions of source code must retain the above copyright
00020 ##     notice, this list of conditions and the following disclaimer.
00021 ##   * Redistributions in binary form must reproduce the above
00022 ##     copyright notice, this list of conditions and the following
00023 ##     disclaimer in the documentation and/or other materials provided
00024 ##     with the distribution.
00025 ##   * Neither the name of the Willow Garage nor the names of its
00026 ##     contributors may be used to endorse or promote products derived
00027 ##     from this software without specific prior written permission.
00028 ##
00029 ##  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00030 ##  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00031 ##  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00032 ##  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00033 ##  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00034 ##  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00035 ##  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00036 ##  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00037 ##  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00038 ##  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00039 ##  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00040 ##  POSSIBILITY OF SUCH DAMAGE.
00041 ##**********************************************************/
00042 
00043 from dynamic_reconfigure.encoding import extract_params
00044 
00045 inf = float('inf')
00046 
00047 config_description = {'upper': 'DEFAULT', 'lower': 'groups', 'srcline': 233, 'name': 'Default', 'parent': 0, 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'cstate': 'true', 'parentname': 'Default', 'class': 'DEFAULT', 'field': 'default', 'state': True, 'parentclass': '', 'groups': [], 'parameters': [{'srcline': 259, 'description': 'The minimum height to include from the point cloud.', 'max': 10.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'min_height', 'edit_method': '', 'default': 0.1, 'level': 0, 'min': -10.0, 'type': 'double'}, {'srcline': 259, 'description': 'The maximum height to include from the point cloud.', 'max': 10.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'max_height', 'edit_method': '', 'default': 0.15, 'level': 0, 'min': -10.0, 'type': 'double'}, {'srcline': 259, 'description': 'The minimum angle of the resulting laser scan.', 'max': 3.141592653589793, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'angle_min', 'edit_method': '', 'default': -1.5707963267948966, 'level': 0, 'min': -3.141592653589793, 'type': 'double'}, {'srcline': 259, 'description': 'The maximum angle of the resulting laser scan.', 'max': 3.141592653589793, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'angle_max', 'edit_method': '', 'default': 1.5707963267948966, 'level': 0, 'min': -3.141592653589793, 'type': 'double'}, {'srcline': 259, 'description': 'The angle increment of the resulting laser scan.', 'max': 3.141592653589793, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'angle_increment', 'edit_method': '', 'default': 0.008726646259971648, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The scan time of the resulting laser scan.', 'max': 1.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'scan_time', 'edit_method': '', 'default': 0.03333333333333333, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The minimum range of the resulting laser scan.', 'max': 100.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'range_min', 'edit_method': '', 'default': 0.45, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The maximum range of the resulting laser scan.', 'max': 100.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'range_max', 'edit_method': '', 'default': 10.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The frame id of the resulting laser scan.', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'output_frame_id', 'edit_method': '', 'default': '/openi_depth_frame', 'level': 0, 'min': '', 'type': 'str'}], 'type': '', 'id': 0}
00048 
00049 min = {}
00050 max = {}
00051 defaults = {}
00052 level = {}
00053 type = {}
00054 all_level = 0
00055 
00056 #def extract_params(config):
00057 #    params = []
00058 #    params.extend(config['parameters'])    
00059 #    for group in config['groups']:
00060 #        params.extend(extract_params(group))
00061 #    return params
00062 
00063 for param in extract_params(config_description):
00064     min[param['name']] = param['min']
00065     max[param['name']] = param['max']
00066     defaults[param['name']] = param['default']
00067     level[param['name']] = param['level']
00068     type[param['name']] = param['type']
00069     all_level = all_level | param['level']
00070 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


pointcloud_to_laserscan
Author(s): Tang Tiong Yew
autogenerated on Thu Jan 3 2013 15:31:41