mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@560 f169173b-cf89-36c8-b27e-44dbe73f0c83
22 lines
1.1 KiB
INI
Executable File
22 lines
1.1 KiB
INI
Executable File
#!/usr/bin/env python
|
|
PACKAGE = "rtabmap_image"
|
|
import roslib;roslib.load_manifest(PACKAGE)
|
|
|
|
from dynamic_reconfigure.parameter_generator import *
|
|
|
|
gen = ParameterGenerator()
|
|
|
|
size_enum = gen.enum([ gen.const("8", int_t, 0, "Color index table of size 8"),
|
|
gen.const("16", int_t, 1, "Color index table of size 16"),
|
|
gen.const("32", int_t, 2, "Color index table of size 32"),
|
|
gen.const("64", int_t, 3, "Color index table of size 64"),
|
|
gen.const("128", int_t, 4, "Color index table of size 128"),
|
|
gen.const("256", int_t, 5, "Color index table of size 256"),
|
|
gen.const("512", int_t, 6, "Color index table of size 512"),
|
|
gen.const("1024", int_t, 7, "Color index table of size 1024"),
|
|
gen.const("65536", int_t, 8, "Color index table of size 65536") ],
|
|
"An enum to set size")
|
|
|
|
gen.add("color_table_size", int_t, 0, "Color index table size", 7, 0, 8, edit_method=size_enum)
|
|
|
|
exit(gen.generate(PACKAGE, "dynamic_rgb2ind", "rgb2ind")) |