mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-09 11:17:03 +08:00
ROS camera : added reading from directory of images and video files, fixed 1 channel wrong encoding
ImageViewQt: updated to handle 8bits mono (1 channel) images git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@575 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -8,7 +8,9 @@ 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)
|
||||
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)
|
||||
|
||||
exit(gen.generate(PACKAGE, "dynamic_camera", "camera"))
|
||||
Reference in New Issue
Block a user