mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
14 lines
465 B
INI
14 lines
465 B
INI
#!/usr/bin/env python
|
|||
|
|
PACKAGE = "rtabmap_image"
|
||
|
|
import roslib;roslib.load_manifest(PACKAGE)
|
||
|
|
|
||
|
|
from dynamic_reconfigure.parameter_generator import *
|
||
|
|
|
||
|
|
gen = ParameterGenerator()
|
||
|
|
|
||
|
|
gen.add("deviceId", int_t, 0, "Camera device ID", 0, 0, 7)
|
||
|
|
gen.add("frameRate", 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"))
|