Fixing catkin python import

This commit is contained in:
Julius Kammerl 2013-05-20 09:18:31 -07:00 committed by Paul Bovbel
parent 9244556f9b
commit e6122e2b87

View File

@ -3,12 +3,14 @@
# set up parameters that we care about
PACKAGE = 'pcl_ros'
import roslib; roslib.load_manifest (PACKAGE);
from dynamic_reconfigure.parameter_generator import *;
PACKAGE='pcl_ros'
from dynamic_reconfigure.parameter_generator_catkin import *
import roslib.packages
import SACSegmentation_common as common
gen = ParameterGenerator ()
gen = ParameterGenerator()
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
gen.add ("normal_distance_weight", double_t, 0, "The relative weight (between 0 and 1) to give to the angular distance (0 to pi/2) between point normals and the plane normal.", 0.1, 0, 1.0)
common.add_common_parameters (gen)