21 lines
1.4 KiB
Python
Executable file
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("p_x", double_t, 0, "x gradient in 0", 0.5, 0.)
|
|
gen.add("p_y", double_t, 0, "y gradient in 0", 0.5, 0.)
|
|
gen.add("p_z", double_t, 0, "z gradient in 0", 1, 0.)
|
|
gen.add("p_th", double_t, 0, "th gradient in 0", 0.005, 0.)
|
|
gen.add("max_x", double_t, 0, "max x coord to be published", 0.8, 0., 1.)
|
|
gen.add("max_y", double_t, 0, "max y coord to be published", 0.8, 0., 1.)
|
|
gen.add("max_z", double_t, 0, "max z coord to be published", 0.8, 0., 1.)
|
|
gen.add("max_th", double_t, 0, "max th coord to be published", 0.8, 0., 1.)
|
|
gen.add("x_min", double_t, 0, "min x coord to be published", 0.1, 0., 1.)
|
|
gen.add("y_min", double_t, 0, "min y coord to be published", 0.1, 0., 1.)
|
|
gen.add("z_min", double_t, 0, "min z coord to be published", 0.1, 0., 1.)
|
|
gen.add("th_min", double_t, 0, "min th coord to be published", 0.1, 0., 1.)
|
|
gen.add("atan", bool_t, 0, "use atan function instead of linear function", False)
|
|
exit(gen.generate(PACKAGE, "hand_control", "Commander_atan"))
|