hand_control/cfg/Commander_atan.cfg
2015-05-30 15:23:12 +02:00

21 lines
1.4 KiB
Python
Executable file

#!/usr/bin/env python
PACKAGE = "hand_control"
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
gen.add("max_curvature", double_t, 0, "Maximum curvature of the estimated plane", 0.5, 0., 1.)
gen.add("neutral_alt", double_t, 0, "Reference altitude for vertical movement command", 0.8, 0.)
gen.add("min_points_number", int_t, 0, "Minimal number of plane points needed for a valid estimation", 1000, 0, 50000)
gen.add("x_p", double_t, 0, "x gradient in 0", 0.5, 0.)
gen.add("x_min", double_t, 0, "min x coord to be published", 0.1, 0., 1.)
gen.add("x_max", double_t, 0, "max x coord to be published", 0.8, 0., 1.)
gen.add("y_p", double_t, 0, "y gradient in 0", 0.5, 0.)
gen.add("y_min", double_t, 0, "min y coord to be published", 0.1, 0., 1.)
gen.add("y_max", double_t, 0, "max y coord to be published", 0.8, 0., 1.)
gen.add("z_p", double_t, 0, "z gradient in 0", 1, 0.)
gen.add("z_min", double_t, 0, "min z coord to be published", 0.1, 0., 1.)
gen.add("z_max", double_t, 0, "max z coord to be published", 0.8, 0., 1.)
gen.add("th_p", double_t, 0, "th gradient in 0", 0.005, 0.)
gen.add("th_min", double_t, 0, "min th coord to be published", 0.1, 0., 1.)
gen.add("th_max", double_t, 0, "max th coord to be published", 0.8, 0., 1.)
gen.add("atan", bool_t, 0, "use atan function instead of linear function", False)
exit(gen.generate(PACKAGE, "hand_control", "Commander_atan"))