couldn't see the image and depth map when running LSD-SLAM

asked 2018-07-03 02:52:02 -0500

tengfei han gravatar image

updated 2018-07-03 02:53:32 -0500

I planned to run LSD-SLAM on my laptop with a monocular camera. when typing rosrun lsd_slam_core live_slam image:=/ardrone/front/image_rect camera_info:=/ardrone/front/camera_info I got an error like this,libopencv_imgproc.so.3.1: cannot open shared object file: No such file or directory then I created a file named opencv.conf under the ld.so.conf.d , write to the path to the folder where the binary is stored, so I wrote /usr/local/opencv3.1.0/lib to my opencv.conf.

But it still doesn't fix this problem, because I got a similar error once again.libopencv_imgproc.so.2.4.9: cannot open shared object file: No such file or directory, so I did the same steps as above.

Then the whole package could be catkin_made successfully.

However, when running rosrun lsd_slam_viewer viewer and rosrun lsd_slam_core live_slam image:=/ardrone/front/image_rect camera_info:=/ardrone/front/camera_info, I couldn't see anything about camera information and depth map,because the pointcloud viewer is black. I don't know what happens after several steps. hope someone could give me a little clues

edit retag flag offensive close merge delete