Fixing catkin python import

This commit is contained in:
Julius Kammerl 2013-05-20 10:15:46 -06:00 committed by Paul Bovbel
parent 6038a445d8
commit 0f6ee511da

View File

@ -1,13 +1,11 @@
#! /usr/bin/env python
# set up parameters that we care about
PACKAGE = 'pcl_ros'
PACKAGE='pcl_ros'
import roslib; roslib.load_manifest (PACKAGE);
from dynamic_reconfigure.parameter_generator import *;
import roslib.packages
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
gen = ParameterGenerator ()
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):
gen.add ("height_min", double_t, 0, "The minimum allowed distance to the plane model value a point will be considered from", 0.0, -10.0, 10.0)
gen.add ("height_max", double_t, 0, "The maximum allowed distance to the plane model value a point will be considered from", 0.5, -10.0, 10.0)