raulmur / ORB_SLAM

A Versatile and Accurate Monocular SLAM
http://webdiis.unizar.es/~raulmur/orbslam/
Other
1.51k stars 819 forks source link

Extracting depth images using rosrun command through realsense R200 camera. #161

Open JanhviK opened 6 years ago

JanhviK commented 6 years ago

I entered this command to extract depth images from intel realsense R200 camera: rosrun image_view extract_images _sec_per_frame:=0.01 image:=/camera/depth/image_raw

I wasn't able to get the images, instead showed this error:

[ERROR] [1529053683.952956798]: Unable to convert 16UC1 image to bgr8
[ WARN] [1529053683.953020485]: Couldn't save image, no data!

When i entered this command for color images, it worked: rosrun image_view extract_images _sec_per_frame:=0.01 image:=/camera/color/image_raw

How can this issue be resolved?