2019-03-11 15:42:00 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
PACKAGE = "detect_targets"
|
|
|
|
|
|
|
|
from dynamic_reconfigure.parameter_generator_catkin import *
|
|
|
|
|
|
|
|
gen = ParameterGenerator()
|
|
|
|
|
2019-05-25 16:48:46 +00:00
|
|
|
gen.add("blue_min", int_t, 0, "Blue minimal threshold", 140, 0, 255)
|
|
|
|
gen.add("blue_max", int_t, 0, "Blue maximal threshold", 255, 0, 255)
|
|
|
|
gen.add("red_min", int_t, 0, "Red minimal threshold", 0, 0, 255)
|
|
|
|
gen.add("red_max", int_t, 0, "Red maximal threshold", 120, 0, 255)
|
|
|
|
gen.add("green_min", int_t, 0, "Green minimal threshold", 0, 0, 255)
|
|
|
|
gen.add("green_max", int_t, 0, "Green maximal threshold", 190, 0, 255)
|
2019-06-02 16:02:15 +00:00
|
|
|
gen.add("binary", bool_t, 0, "Binary view", False)
|
|
|
|
gen.add("targets", bool_t, 0, "Draw targets view", False)
|
2019-03-11 15:42:00 +00:00
|
|
|
|
|
|
|
exit(gen.generate(PACKAGE, "detect_targets", "DetectTargets"))
|