$search
00001 #! /usr/bin/env python 00002 00003 # set up parameters that we care about 00004 PACKAGE = 'pcl_ros' 00005 00006 import roslib; 00007 roslib.load_manifest (PACKAGE); 00008 from dynamic_reconfigure.parameter_generator import *; 00009 00010 def add_common_parameters (gen): 00011 # def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""): 00012 gen.add ("filter_field_name", str_t, 0, "The field name used for filtering", "z") 00013 gen.add ("filter_limit_min", double_t, 0, "The minimum allowed field value a point will be considered from", 0.0, -5.0, 5.0) 00014 gen.add ("filter_limit_max", double_t, 0, "The maximum allowed field value a point will be considered from", 1.0, -5.0, 5.0) 00015 gen.add ("filter_limit_negative", bool_t, 0, "Set to true if we want to return the data outside [filter_limit_min; filter_limit_max].", False) 00016 gen.add ("keep_organized", bool_t, 0, "Set whether the filtered points should be kept and set to NaN, or removed from the PointCloud, thus potentially breaking its organized structure.", False) 00017 gen.add ("input_frame", str_t, 0, "The input TF frame the data should be transformed into before processing, if input.header.frame_id is different.", "") 00018 gen.add ("output_frame", str_t, 0, "The output TF frame the data should be transformed into after processing, if input.header.frame_id is different.", "") 00019