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@565 f169173b-cf89-36c8-b27e-44dbe73f0c83
14 lines
467 B
INI
Executable File
14 lines
467 B
INI
Executable File
#!/usr/bin/env python
|
|
PACKAGE = "rtabmap_image"
|
|
import roslib;roslib.load_manifest(PACKAGE)
|
|
|
|
from dynamic_reconfigure.parameter_generator import *
|
|
|
|
gen = ParameterGenerator()
|
|
|
|
gen.add("device_id", int_t, 0, "Camera device ID", 0, 0, 7)
|
|
gen.add("frame_rate", double_t, 0, "Frame rate", 15.0, 0.0, 100.0)
|
|
gen.add("width", int_t, 0, "Width", 640, 1, 1920)
|
|
gen.add("height", int_t, 0, "Image height", 480, 1, 1080)
|
|
|
|
exit(gen.generate(PACKAGE, "dynamic_camera", "camera")) |