<commit_before>#!/usr/bin/env python
PACKAGE = "moveit_planners_ompl"

from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()

gen.add("simplify_solutions", bool_t, 1, "Flag indicating whether computed motion plans are also simplified", True)
gen.add("minimum_waypoint_count", int_t, 2, "Set the minimum number of waypoints to include in a motion plan", 10, 2, 10000)
gen.add("maximum_waypoint_distance", double_t, 3, "The maximum distance between consecutive waypoints along the solution path (0.0 means 'ignore')", 0.0, 0.0, 50.0)
gen.add("link_for_exploration_tree", str_t, 4, "Show the exploration tree for a particular link", "")
gen.add("display_random_valid_states", bool_t, 5, "Flag indicating whether random valid states are to be published", False)

exit(gen.generate(PACKAGE, PACKAGE, "OMPLDynamicReconfigure"))
<commit_msg>Cleanup OMPL dynamic reconfigure config (#1649)<commit_after>#!/usr/bin/env python
PACKAGE = "moveit_planners_ompl"

from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()

gen.add("simplify_solutions", bool_t, 0, "Flag indicating whether computed motion plans are also simplified", True)
gen.add("minimum_waypoint_count", int_t, 0, "Set the minimum number of waypoints to include in a motion plan", 2, 2, 10000)
gen.add("maximum_waypoint_distance", double_t, 0, "The maximum distance between consecutive waypoints along the solution path (0.0 means 'ignore')", 0.0, 0.0, 50.0)
gen.add("link_for_exploration_tree", str_t, 0, "Show the exploration tree for a particular link", "")
gen.add("display_random_valid_states", bool_t, 0, "Flag indicating whether random valid states are to be published", False)

exit(gen.generate(PACKAGE, PACKAGE, "OMPLDynamicReconfigure"))

{'fraction_non_alphanumeric': 0.10797060486150367, 'fraction_numerical': 0.026568682871678916, 'mean_word_length': 6.972972972972973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5527536', 'n_tokens_mistral': 581, 'n_tokens_neox': 530, 'n_words': 179}