drone-rigide/cfg/Triangle.cfg
2019-06-05 08:54:37 +02:00

12 lines
456 B
Python
Executable file

#!/usr/bin/env python
PACKAGE = "detect_targets"
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
gen.add("camera_angle", double_t, 0, "The angle corresponding to the image width", 80, 50, 180)
gen.add("target_width", double_t, 0, "the real target width (m)", 1, 0.01, 1.5)
gen.add("target_depth", double_t, 0, "the real target depth (m)", .2, 0.01, 0.5)
exit(gen.generate(PACKAGE, "detect_targets", "Triangle"))