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

14 lines
574 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("size", int_t, 0, "Size of the Savinsky Golay filter", 3, 1, 20)
gen.add("poly_order", int_t, 0, "Order of the polynome of the Savinsky Golay filter", 1, 0, 20)
gen.add("refresh_time", double_t, 0, "Minimal refresh time in seconds", 1.0, 0.0, 10.0)
gen.add("deriv", int_t, 0, "Derivative order", 1, 0, 10)
exit(gen.generate(PACKAGE, "detect_targets", "DerivativeNode"))