tum-vision / lsd_slam

LSD-SLAM
GNU General Public License v3.0
2.58k stars 1.23k forks source link

[rosrun] Couldn't find executable named dataset_slam #315

Open Roshnee opened 5 years ago

Roshnee commented 5 years ago

I installed lsd_slam for ubuntu 16.04 with ros kinetic following https://github.com/kevin-george/lsd_slam/wiki/LSD-SLAM-with-ROS-and-Ubuntu-16.04

I was able to install all the dependencies and build it using catkin_make. I ran $ roscore in one terminal and then ran,

$ rosrun lsd_slam_viewer viewer for which i got

Started QApplication thread
Started ROS thread
[ INFO] [1532000922.828904361]: lsd_slam_viewer started

and the point cloud viewer window opened.

But when i run $ rosrun lsd_slam_core dataset_slam _files:=/home/roshnee/catkin_ws/src/T1_rectified/images _hz:=0 _calib:=/home/roshnee/catkin_ws/src/T1_rectified/calibration.yaml

I get

[rosrun] Couldn't find executable named dataset_slam below /home/roshnee/catkin_ws/src/lsd_slam/lsd_slam_core

Could anybody please help as I am a beginner at it?

yan99033 commented 5 years ago

Hey,

The executable is named dataset in the catkinized LSD-SLAM, so you need to replace _datasetslam with dataset:

$ rosrun lsd_slam_core dataset _files:=/home/roshnee/catkin_ws/src/T1_rectified/images _hz:=0 _calib:=/home/roshnee/catkin_ws/src/T1_rectified/calibration.yaml