00001 ## ********************************************************* 00002 ## 00003 ## File autogenerated for the art_teleop 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 config_description = [{'srcline': 50, 'description': 'Maximum acceleration requested (m/s^2).', 'max': 25.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/Joy.cfg', 'name': 'max_accel', 'edit_method': '', 'default': 10.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 53, 'description': 'Maximum speed requested going forward (m/s).', 'max': 25.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/Joy.cfg', 'name': 'limit_forward', 'edit_method': '', 'default': 6.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 56, 'description': 'Maximum speed requested in reverse (m/s).', 'max': 4.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '../cfg/Joy.cfg', 'name': 'limit_reverse', 'edit_method': '', 'default': 3.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 59, 'description': 'Send navigator E-stop commands', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '../cfg/Joy.cfg', 'name': 'use_navigator', 'edit_method': '', 'default': True, 'level': 3, 'min': False, 'type': 'bool'}] 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