17 lines
513 B
Python
17 lines
513 B
Python
#! /usr/bin/env python
|
|
|
|
PACKAGE='Steve'
|
|
import roslib
|
|
roslib.load_manifest(PACKAGE)
|
|
|
|
from dynamic_reconfigure.parameter_generator_catkin import *
|
|
|
|
gen = ParameterGenerator()
|
|
|
|
# Name Type Level Description Default Min Max
|
|
gen.add("message", str_t, 0, "The message.", "hello")
|
|
gen.add("a", int_t, 0, "First number.", 1, -100, 100)
|
|
gen.add("b", int_t, 0, "First number.", 2, -100, 100)
|
|
|
|
exit(gen.generate(PACKAGE, "node_example", "node_example_params"))
|