Skip to content

Commit

Permalink
Improve coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
acschaefer committed Feb 22, 2016
1 parent 26fface commit 95b4691
Showing 1 changed file with 31 additions and 9 deletions.
40 changes: 31 additions & 9 deletions velodyne_pointcloud/cfg/TransformNode.cfg
Expand Up @@ -2,16 +2,38 @@
PACKAGE = "velodyne_pointcloud"

from math import pi
from dynamic_reconfigure.parameter_generator_catkin import *
import dynamic_reconfigure.parameter_generator_catkin as pgc

gen = ParameterGenerator()
gen = pgc.ParameterGenerator()

gen.add("min_range", double_t, 0, "min range to publish", 0.9, 0.1, 10.0)
gen.add("max_range", double_t, 0, "max range to publish", 130, 0.1, 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",
2*pi, 0.0, 2*pi)
gen.add("frame_id", str_t, 0, "new frame of reference for point clouds", "odom")
gen.add("min_range",
pgc.double_t,
0,
"min range to publish",
0.9, 0.1, 10.0)

gen.add("max_range",
pgc.double_t,
0,
"max range to publish",
130, 0.1, 200)

gen.add("view_direction",
pgc.double_t,
0,
"angle defining the center of view",
0.0, -pi, pi)

gen.add("view_width",
pgc.double_t,
0,
"angle defining the view width",
2*pi, 0.0, 2*pi)

gen.add("frame_id",
pgc.str_t,
0,
"new frame of reference for point clouds",
"odom")

exit(gen.generate(PACKAGE, "transform_node", "TransformNode"))

0 comments on commit 95b4691

Please sign in to comment.