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

from dynamic_reconfigure.parameter_generator_catkin import *

gen = ParameterGenerator()

gen.add("min_range", double_t, 0, "min range to publish", 2.0, 0.9, 10.0)
gen.add("max_range", double_t, 0, "max range to publish", 130, 0.9, 200)
gen.add("view_direction", double_t, 0, "angle defining the center of view", 0.0, -3.1415925, 3.1415925)
gen.add("view_width", double_t, 0, "angle defining the view width", 6.283185, 0.0, 6.283185)

exit(gen.generate(PACKAGE, "velodyne_pointcloud", "VelodyneConfig"))<commit_msg>using pi value from python math library<commit_after>#!/usr/bin/env python
PACKAGE = "velodyne_pointcloud"

from math import pi
from dynamic_reconfigure.parameter_generator_catkin import *

gen = ParameterGenerator()

gen.add("min_range", double_t, 0, "min range to publish", 2.0, 0.9, 10.0)
gen.add("max_range", double_t, 0, "max range to publish", 130, 0.9, 200)
gen.add("view_direction", double_t, 0, "angle defining the center of view", 0.0, -pi, pi)
gen.add("view_width", double_t, 0, "angle defining the view width", 6.283185, 0.0, 2*pi)

exit(gen.generate(PACKAGE, "velodyne_pointcloud", "VelodyneConfig"))
{'fraction_non_alphanumeric': 0.14858096828046743, 'fraction_numerical': 0.07011686143572621, 'mean_word_length': 6.052941176470588, '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': '6428258', 'n_tokens_mistral': 494, 'n_tokens_neox': 432, 'n_words': 119}