drone-rigide/cfg/Triangle.cfg

13 lines
456 B
INI
Raw Normal View History

2019-06-05 06:54:37 +00:00
#!/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"))