#!/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) gen.add("binary", bool_t, 0, "Binary view", False) gen.add("targets", bool_t, 0, "Draw targets view", False) exit(gen.generate(PACKAGE, "detect_targets", "DetectTargets"))