drone-rigide/workspace/src/detect_targets/cfg/DetectTargets.cfg

16 lines
618 B
INI
Raw Normal View History

2019-03-11 15:42:00 +00:00
#!/usr/bin/env python
PACKAGE = "detect_targets"
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
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-03-11 15:42:00 +00:00
exit(gen.generate(PACKAGE, "detect_targets", "DetectTargets"))