fatal error: lsd_slam_core/LSDParamsConfig.h: No such file or directory #include "lsd_slam_core/LSDParamsConfig.h"

asked 2017-05-31 04:14:00 -0500

haidara gravatar image

updated 2017-05-31 07:36:59 -0500

Hello everybody! I'm new to LSD SLAM and I'm using ROS indigo on Ubuntu 14.04.3. I am having that issue:

fatal error: lsd_slam_core/LSDParamsConfig.h: No such file or directory #include "lsd_slam_core/LSDParamsConfig.h"

I followed his instructions:

Run rosmake lsd_slam ---> successfully

haidara@haidara-virtual-machine:~/catkin_ws/src$ rosmake lsd_slam
[ rosmake ] rosmake starting...                                    
[ rosmake ] Packages requested are: ['lsd_slam']                   
[ rosmake ] Logging to directory /home/haidara/.ros/rosmake/rosmake_output-20170531-073527
[ rosmake ] Expanded args ['lsd_slam'] to:
[]                      
[ rosmake ] WARNING: The stack "catkin" was not found. We will assume it is using the new buildsystem and try to continue...
[ rosmake ] Results:                                               
[ rosmake ] Built 0 packages with 0 failures.                      
[ rosmake ] Summary output to directory                            
[ rosmake ] /home/haidara/.ros/rosmake/rosmake_output-20170531-073527

Run catkin_make --> failed

haidara@haidara-virtual-machine:~/catkin_ws$ catkin_make
Base path: /home/haidara/catkin_ws
Source space: /home/haidara/catkin_ws/src
Build space: /home/haidara/catkin_ws/build
Devel space: /home/haidara/catkin_ws/devel
Install space: /home/haidara/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/haidara/catkin_ws/build"
####
####
#### Running command: "make -j1 -l1" in "/home/haidara/catkin_ws/build"
####
[  0%] Built target _ptam_com_generate_messages_check_deps_OctoMapPointStamped
[  0%] Built target _ptam_com_generate_messages_check_deps_KeyFrame_msg
[  0%] Built target _ptam_com_generate_messages_check_deps_OctoMapPointArray
.
.
[ 43%] Built target viewer
[ 66%] Built target lsdslam
[ 67%] Building CXX object lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/src/main_on_images.cpp.o
In file included from /home/haidara/catkin_ws/src/lsd_slam/lsd_slam_core/src/main_on_images.cpp:34:0:
/home/haidara/catkin_ws/src/lsd_slam/lsd_slam_core/src/IOWrapper/ROS/rosReconfigure.h:25:43: fatal error: lsd_slam_core/LSDParamsConfig.h: No such file or directory
 #include "lsd_slam_core/LSDParamsConfig.h"
                                           ^
compilation terminated.
make[2]: *** [lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/src/main_on_images.cpp.o] Error 1
make[1]: *** [lsd_slam/lsd_slam_core/CMakeFiles/dataset.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j1 -l1" failed

After I am trying to run LSD_SLAM visualization, LSD_SLAM node and LSD_room.bag operations runs as follows: I open my 1st terminal : roscore 2nd terminal: rosrun lsd_slam_viewer viewer ---> successfully run

haidara@haidara-virtual-machine:~$ rosrun lsd_slam_viewer viewer
Started QApplication thread
Started ROS thread
[ INFO] [1496188297.980113596]: lsd_slam_viewer started

3rd terminal: rosrun lsd_slam_core dataset_slam _files:=<files> _hz:=<hz> _calib:=<calibration_file> ---> failed run

haidara@haidara-virtual-machine:~/catkin_ws/src$ rosrun lsd_slam_core dataset_slam _files:=/home/haidara/catkin_ws/src/lsd_slam/images _hz:=0 _calib:=/home/haidara/catkin_ws/src/lsd_slam/cameraCalibration.cfg
[rosrun] Couldn't find executable named dataset_slam below /home/haidara/catkin_ws/src/lsd_slam/lsd_slam_core
4th terminal:rosbag play ~/LSD_room.bag  ---> successfully run
4th terminal:rosbag play ~/LSD_room.bag  ---> successfully run
haidara@haidara-virtual-machine:~/catkin_ws/src$ rosbag play /home/haidara/catkin_ws/src/lsd_slam/LSD_room.bag
[ INFO] [1496188710.258080164]: Opening /home/haidara/catkin_ws/src/lsd_slam/LSD_room.bag
Waiting 0.2 seconds after advertising topics... done.
Hit space to toggle paused, or 's' to step.
 [RUNNING]  Bag Time: 1400002262.214285   Duration: 0.000000 / 55.334465    [RUNNING]  Bag Time: 1400002262.214350   Duration: 0.000065 / 55.334465 
.
.
Duration: 55.232139 / 55.334465   [RUNNING]  Bag Time: 1400002317.467412   Duration: 55.253127 / 55.334465   [RUNNING]  Bag Time: 1400002317.488689   Duration: 55.274404 / 55.334465   [RUNNING]  Bag Time: 1400002317.508446   Duration: 55.294161 / 55.334465     
Done.

Any ideas on what might be wrong? I followed the installation ... (more)

edit retag flag offensive close merge delete

Comments

Please share CMakeLists.txt and also make sure you have the file LSDParamsConfig.h in include/lsd_slam_core directory

ROSkinect gravatar image ROSkinect  ( 2017-05-31 06:56:42 -0500 )edit