2012-06-24 17:19:34 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
PACKAGE = "rtabmap_image"
|
|
|
|
|
import roslib;roslib.load_manifest(PACKAGE)
|
|
|
|
|
|
|
|
|
|
from dynamic_reconfigure.parameter_generator import *
|
|
|
|
|
|
|
|
|
|
gen = ParameterGenerator()
|
|
|
|
|
|
2012-06-24 20:32:54 +00:00
|
|
|
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)
|
2012-06-26 19:27:47 +00:00
|
|
|
gen.add("width", int_t, 0, "Width", 640, 0, 1920)
|
|
|
|
|
gen.add("height", int_t, 0, "Image height", 480, 0, 1080)
|
|
|
|
|
gen.add("video_or_images_path", str_t, 0, "Video or images directory path", "")
|
|
|
|
|
gen.add("auto_restart", bool_t, 0, "Auto restart the camera (with reading from images and video)", True)
|
2012-06-24 17:19:34 +00:00
|
|
|
|
|
|
|
|
exit(gen.generate(PACKAGE, "dynamic_camera", "camera"))
|