Fixing catkin python import

This commit is contained in:
Julius Kammerl 2013-05-20 10:16:42 -06:00 committed by Paul Bovbel
parent 0f6ee511da
commit 3dee819ea9

View File

@ -1,12 +1,10 @@
#! /usr/bin/env python #! /usr/bin/env python
# set up parameters that we care about PACKAGE='pcl_ros'
PACKAGE = 'pcl_ros'
import roslib; from dynamic_reconfigure.parameter_generator_catkin import *
roslib.load_manifest (PACKAGE);
from dynamic_reconfigure.parameter_generator import *; gen = ParameterGenerator()
gen = ParameterGenerator ()
enum = gen.enum ([ gen.const("ANN", int_t, 0, "ANN"), gen.const("FLANN", int_t, 1, "FLANN"), gen.const("organized", int_t, 2, "Dense/organized data locator") ], "Set the spatial locator") enum = gen.enum ([ gen.const("ANN", int_t, 0, "ANN"), gen.const("FLANN", int_t, 1, "FLANN"), gen.const("organized", int_t, 2, "Dense/organized data locator") ], "Set the spatial locator")
# def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""): # def add (self, name, paramtype, level, description, default = None, min = None, max = None, edit_method = ""):