From 17a90f6d41de3b451f151f94c3000df71287adf5 Mon Sep 17 00:00:00 2001 From: Louis-Guillaume DUBOIS Date: Thu, 28 May 2015 22:14:12 +0200 Subject: [PATCH] add sup lim to min_points_number --- cfg/Commander_atan.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/Commander_atan.cfg b/cfg/Commander_atan.cfg index 0a27756..7aaf6c2 100755 --- a/cfg/Commander_atan.cfg +++ b/cfg/Commander_atan.cfg @@ -4,7 +4,7 @@ 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) +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", 0.5, 0.)