BaseLocalPlannerConfig.py
Go to the documentation of this file.
00001 ## *********************************************************
00002 ## 
00003 ## File autogenerated for the bipedRobin_local_planner 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 acceleration limit of the robot in the x direction', 'max': 20.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'acc_lim_x', 'edit_method': '', 'default': 1.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The acceleration limit of the robot in the y direction', 'max': 20.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'acc_lim_y', 'edit_method': '', 'default': 1.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The acceleration limit of the robot in the theta direction', 'max': 20.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'acc_lim_theta', 'edit_method': '', 'default': 1.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The maximum x velocity for the robot in m/s', 'max': 20.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'max_vel_x', 'edit_method': '', 'default': 0.55000000000000004, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The minimum x velocity for the robot in m/s', 'max': 20.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'min_vel_x', 'edit_method': '', 'default': 0.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The absolute value of the maximum rotational velocity for the robot in rad/s', 'max': 20.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'max_vel_theta', 'edit_method': '', 'default': 1.0, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The absolute value of the minimum rotational velocity for the robot in rad/s', 'max': 0.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'min_vel_theta', 'edit_method': '', 'default': -1.0, 'level': 0, 'min': -20.0, 'type': 'double'}, {'srcline': 259, 'description': 'The absolute value of the minimum in-place rotational velocity the controller will explore', 'max': 20.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'min_in_place_vel_theta', 'edit_method': '', 'default': 0.40000000000000002, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The amount of time to roll trajectories out for in seconds', 'max': 10.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'sim_time', 'edit_method': '', 'default': 1.7, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The granularity with which to check for collisions along each trajectory in meters', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'sim_granularity', 'edit_method': '', 'default': 0.025000000000000001, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The weight for the path distance part of the cost function', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'pdist_scale', 'edit_method': '', 'default': 0.59999999999999998, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The weight for the goal distance part of the cost function', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'gdist_scale', 'edit_method': '', 'default': 0.80000000000000004, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The weight for the obstacle distance part of the cost function', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'occdist_scale', 'edit_method': '', 'default': 0.01, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The distance the robot must travel before oscillation flags are reset, in meters', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'oscillation_reset_dist', 'edit_method': '', 'default': 0.050000000000000003, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The distance the robot must travel before oscillation flags are reset, in meters', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'escape_reset_dist', 'edit_method': '', 'default': 0.10000000000000001, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The distance the robot must travel before oscillation flags are reset, in meters', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'escape_reset_theta', 'edit_method': '', 'default': 1.5707963267948966, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'The number of samples to use when exploring the x velocity space', 'max': 300, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'vx_samples', 'edit_method': '', 'default': 20, 'level': 0, 'min': 1, 'type': 'int'}, {'srcline': 259, 'description': 'The number of samples to use when exploring the theta velocity space', 'max': 300, 'cconsttype': 'const int', 'ctype': 'int', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'vtheta_samples', 'edit_method': '', 'default': 20, 'level': 0, 'min': 1, 'type': 'int'}, {'srcline': 259, 'description': 'How far the robot should look ahead of itself when differentiating between different rotational velocities', 'max': 5.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'heading_lookahead', 'edit_method': '', 'default': 0.32500000000000001, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'Set this to true if the robot being controlled can take y velocities and false otherwise', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'holonomic_robot', 'edit_method': '', 'default': True, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 259, 'description': 'The velocity to use while backing up', 'max': 2.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'escape_vel', 'edit_method': '', 'default': -0.10000000000000001, 'level': 0, 'min': -2.0, 'type': 'double'}, {'srcline': 259, 'description': 'Set this to true to use the Dynamic Window Approach, false to use acceleration limits', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'dwa', 'edit_method': '', 'default': False, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 259, 'description': 'Set this to true to use the Dynamic Window Approach, false to use acceleration limits', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'heading_scoring', 'edit_method': '', 'default': False, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 259, 'description': 'How far to look ahead in time when we score heading based trajectories', 'max': 1.0, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'heading_scoring_timestep', 'edit_method': '', 'default': 0.10000000000000001, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'Set this to true to allow simple attraction to a goal point instead of intelligent cost propagation', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'simple_attractor', 'edit_method': '', 'default': False, 'level': 0, 'min': False, 'type': 'bool'}, {'srcline': 259, 'description': "The distance between simulation points for angular velocity should be small enough that the robot doesn't hit things", 'max': 1.5707963267948966, 'cconsttype': 'const double', 'ctype': 'double', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'angular_sim_granularity', 'edit_method': '', 'default': 0.025000000000000001, 'level': 0, 'min': 0.0, 'type': 'double'}, {'srcline': 259, 'description': 'A comma delimited list of the y velocities the controller will explore', 'max': '', 'cconsttype': 'const char * const', 'ctype': 'std::string', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'y_vels', 'edit_method': '', 'default': '-0.3,-0.1,0.1,-0.3', 'level': 0, 'min': '', 'type': 'str'}, {'srcline': 259, 'description': 'Retore to the default configuration', 'max': True, 'cconsttype': 'const bool', 'ctype': 'bool', 'srcfile': '/opt/ros/fuerte/stacks/dynamic_reconfigure/src/dynamic_reconfigure/parameter_generator.py', 'name': 'restore_defaults', 'edit_method': '', 'default': False, 'level': 0, 'min': False, 'type': 'bool'}], '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 Defines


bipedRobinBase_local_planner
Author(s): Eitan Marder-Eppstein, Eric Perko
autogenerated on Wed Oct 9 2013 10:07:14