Open phenix1983 opened 6 years ago
This is how i fixed the issue based on discussions on other threads and adding my own solutions.
-first you need to remove the ROS opencv3.
sudo apt remove ros-kinetic-opencv3
-then clone cv-bridge from https://github.com/ros-perception/vision_opencv and add it to yout catkin workspace.
mkdir build
cd build
cmake ..
cmake-gui ..
after this commad the gui should appear, set the option 'WITH_QT' off.
sudo make install
roslib.load_manifest(PACKAGE)
in the file. same for the .cfg files in lsd_slam_corecatkin build lsd_slam_core
then you are set, both the pointcloud and depth window should appearhttps://github.com/kevin-george/lsd_slam/issues/1
Just one line addition to code... i got it working with 'ros-kinetic-opencv' on ubuntu 16.04.
Thank you for your sharing:) Now, I have installed the lsd_slam run successful, on ubuntu16.04.
in file lsd_slam_core/src/settings.cpp bool onSceenInfoDisplay = true; bool displayDepthMap = false; then, run 3 commands in 3 terminals. terminal 1: yunfeng@yunfeng-ZHAOYANG-E42-80:~/rosbuild_ws/package_dir$ roscore terminal 2: yunfeng@yunfeng-ZHAOYANG-E42-80:~/rosbuild_ws/package_dir$ rosrun lsd_slam_viewer viewer ternimal 3: yunfeng@yunfeng-ZHAOYANG-E42-80:~/rosbuild_ws/package_dir$ rosrun lsd_slam_core dataset_slam _files:=LSD_room/images/ _hz:=5 _calib:=LSD_room/cameraCalibration.cfg
then,I could see the point cloud map, but I also want to see the "DebugWindow depth", bool displayDepthMap = true;
repeat the 3 commands again, The DebugWindow depth display nothing,and disorder. Can you do me a favor and solve the problem? Thank you in advance.