mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
15 lines
541 B
INI
15 lines
541 B
INI
#!/usr/bin/env python
|
|||
|
|
PACKAGE = "rtabmap"
|
||
|
|
|
||
|
|
from dynamic_reconfigure.parameter_generator_catkin 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, 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("pause", bool_t, 0, "Pause", False)
|
||
|
|
|
||
|
|
exit(gen.generate(PACKAGE, "rtabmap", "Camera"))
|