migrating nodelets and tools from fuerte release to pcl_ros
This commit is contained in:
committed by
Paul Bovbel
parent
d5d9e3816a
commit
a3701bb3df
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
# set up parameters that we care about
|
||||
PACKAGE = 'pcl_ros'
|
||||
|
||||
import roslib; roslib.load_manifest (PACKAGE);
|
||||
from dynamic_reconfigure.parameter_generator import *;
|
||||
import roslib.packages
|
||||
|
||||
gen = ParameterGenerator ()
|
||||
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
|
||||
gen.add ("negative", bool_t, 0, "Extract indices or the negative (all-indices)", False)
|
||||
|
||||
exit (gen.generate (PACKAGE, "pcl_ros", "ExtractIndices"))
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
# set up parameters that we care about
|
||||
PACKAGE = 'pcl_ros'
|
||||
|
||||
import roslib;
|
||||
roslib.load_manifest (PACKAGE);
|
||||
from dynamic_reconfigure.parameter_generator import *;
|
||||
import Filter_common as common
|
||||
|
||||
gen = ParameterGenerator ()
|
||||
common.add_common_parameters (gen)
|
||||
|
||||
exit (gen.generate (PACKAGE, "pcl_ros", "Filter"))
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
# set up parameters that we care about
|
||||
PACKAGE = 'pcl_ros'
|
||||
|
||||
import roslib;
|
||||
roslib.load_manifest (PACKAGE);
|
||||
from dynamic_reconfigure.parameter_generator import *;
|
||||
|
||||
def add_common_parameters (gen):
|
||||
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
|
||||
gen.add ("filter_field_name", str_t, 0, "The field name used for filtering", "z")
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
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.", "")
|
||||
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.", "")
|
||||
|
||||
Binary file not shown.
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
# set up parameters that we care about
|
||||
PACKAGE = 'pcl_ros'
|
||||
|
||||
import roslib;
|
||||
roslib.load_manifest (PACKAGE);
|
||||
from dynamic_reconfigure.parameter_generator import *;
|
||||
gen = ParameterGenerator ()
|
||||
|
||||
# enabling/disabling the unit limits
|
||||
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
|
||||
gen.add ("mean_k", int_t, 0, "The number of points (k) to use for mean distance estimation", 2, 2, 100)
|
||||
gen.add ("stddev", double_t, 0, "The standard deviation multiplier threshold. All points outside the mean +- sigma * std_mul will be considered outliers.", 0.0, 0.0, 5.0)
|
||||
gen.add ("negative", bool_t, 0, "Set whether the inliers should be returned (true) or the outliers (false)", False)
|
||||
|
||||
exit (gen.generate (PACKAGE, "pcl_ros", "StatisticalOutlierRemoval"))
|
||||
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
# set up parameters that we care about
|
||||
PACKAGE = 'pcl_ros'
|
||||
|
||||
import roslib; roslib.load_manifest (PACKAGE);
|
||||
from dynamic_reconfigure.parameter_generator import *;
|
||||
import roslib.packages
|
||||
import Filter_common as common
|
||||
|
||||
gen = ParameterGenerator ()
|
||||
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
|
||||
gen.add ("leaf_size", double_t, 0, "The size of a leaf (on x,y,z) used for downsampling.", 0.01, 0, 1.0)
|
||||
common.add_common_parameters (gen)
|
||||
|
||||
exit (gen.generate (PACKAGE, "pcl_ros", "VoxelGrid"))
|
||||
Reference in New Issue
Block a user