drone-rigide/cfg/IntegralNode.cfg
2019-06-02 18:02:15 +02:00

15 lines
602 B
Python
Executable file

#!/usr/bin/env python
PACKAGE = "detect_targets"
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
gen.add("k", double_t, 0, "K", 1.0, -100.0, 100.0)
gen.add("use_min", bool_t, 0, "Clamp to minimal value", True)
gen.add("min", double_t, 0, "Minimal Value", 0.0, -100.0, 100.0)
gen.add("use_max", bool_t, 0, "Clamp to maximal value", True)
gen.add("max", double_t, 0, "Maximal Value", 0.0, -100.0, 100.0)
gen.add("refresh_time", double_t, 0, "Minimal refresh time in seconds", 1.0, 0.0, 10.0)
exit(gen.generate(PACKAGE, "detect_targets", "IntegralNode"))