<commit_before>#! /usr/bin/env python

PACKAGE='vortex_controller'
import roslib
roslib.load_manifest(PACKAGE)

from dynamic_reconfigure.parameter_generator_catkin import *

gen = ParameterGenerator()
gains = gen.add_group("Gains")

#          Name            Type      Level Description      Default Min  Max
gains.add("velocity_gain", double_t, 0,    "Velocity gain", 0.0,    0.0, 100.0)
gains.add("position_gain", double_t, 0,    "Position gain", 0.0,    0.0, 100.0)
gains.add("attitude_gain", double_t, 0,    "Attitude gain", 0.0,    0.0, 100.0)
gains.add("heave_offset",  double_t, 0,    "Heave offset" , 0.0,   -1.0, 1.0)

exit(gen.generate(PACKAGE, "vortex_controller", "VortexController"))<commit_msg>Change dynamic reconfigure ranges<commit_after>#! /usr/bin/env python

PACKAGE='vortex_controller'
import roslib
roslib.load_manifest(PACKAGE)

from dynamic_reconfigure.parameter_generator_catkin import *

gen = ParameterGenerator()
gains = gen.add_group("Gains")

#          Name            Type      Level Description      Default Min  Max
gains.add("velocity_gain", double_t, 0,    "Velocity gain", 0.0,    0.0, 20.0)
gains.add("position_gain", double_t, 0,    "Position gain", 0.0,    0.0, 1.0)
gains.add("attitude_gain", double_t, 0,    "Attitude gain", 0.0,    0.0, 10.0)
gains.add("heave_offset",  double_t, 0,    "Heave offset" , 0.0,   -1.0, 1.0)

exit(gen.generate(PACKAGE, "vortex_controller", "VortexController"))
{'fraction_non_alphanumeric': 0.14225941422594143, 'fraction_numerical': 0.044630404463040445, 'mean_word_length': 3.914383561643836, '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': '7374714', 'n_tokens_mistral': 569, 'n_tokens_neox': 524, 'n_words': 114}