InflationPlugin.cfg 616 B

123456789101112
  1. #!/usr/bin/env python
  2. from dynamic_reconfigure.parameter_generator_catkin import ParameterGenerator, bool_t, double_t
  3. gen = ParameterGenerator()
  4. gen.add("enabled", bool_t, 0, "Whether to apply this plugin or not", True)
  5. gen.add("cost_scaling_factor", double_t, 0, "A scaling factor to apply to cost values during inflation.", 10, 0, 100)
  6. gen.add("inflation_radius", double_t, 0, "The radius in meters to which the map inflates obstacle cost values.", 0.55, 0, 50)
  7. gen.add("inflate_unknown", bool_t, 0, "Whether to inflate unknown cells.", False)
  8. exit(gen.generate("costmap_2d", "costmap_2d", "InflationPlugin"))