ethz-asl / segmap

A map representation based on 3D segments
BSD 3-Clause "New" or "Revised" License
1.06k stars 394 forks source link

kitti loop closure demo launch file not working #54

Closed VarunUmesh1407 closed 6 years ago

VarunUmesh1407 commented 6 years ago

Hi all,

i am trying to execute the Kitti demo file as mentioned in the wiki page, but I am getting the following error.

--roslaunch laser_mapper kitti_loop_closure.launch error -- [kitti_loop_closure.launch] is neither a launch file in package [laser_mapper] nor is [laser_mapper] a launch file name The traceback for the exception was written to the log file

I have the launch files and bash setup accordingly, yet I am not able to execute. Kindly help.

Thanks in advance.

Varun Umesh

rdube commented 6 years ago

Hi @Varun1407 thanks fo getting in touch! Did you follow the instructions of the readme file for compiling segmatch and laser_mapper?

VarunUmesh1407 commented 6 years ago

Hi @rdube. thanks for the response. Yes I followed all the instruction as per the read me file. Now I am getting an error as below.

[FATAL] [1505220674.695524262]: Error opening file: /home/eberhardt/segmatchcatkin_ws/src/segmatch/laser_mapper/demonstration_files/kitti/2011_09_30_drive_18.bag [player-4] process has died [pid 3137, exit code 1, cmd /opt/ros/indigo/lib/rosbag/play -r 1 -s 0 --clock --pause /home/eberhardt/segmatchcatkin_ws/src/segmatch/laser_mapper/demonstration_files/kitti/2011_09_30_drive_18.bag name:=player log:=/home/eberhardt/.ros/log/0c484310-97b9-11e7-8644-3ca9f455f8e8/player-4.log]. log file: /home/eberhardt/.ros/log/0c484310-97b9-11e7-8644-3ca9f455f8e8/player-4*.log

I have converted the kitti dataset using the kitti to rosbag repository.

also in rviz I am getting the global status warning for fixed frame as below:

No tf data. Actual error: Fixed Frame [map] does not exist

rdube commented 6 years ago

You can get a bag file here: http://robotics.ethz.ch/segmatch/ and make sure that it is in the correct location.

VarunUmesh1407 commented 6 years ago

I used the file you suggested but still I am getting the same error. I have placed it in the location as specified in the wiki for demonstrations of segmatch.

rdube commented 6 years ago

Most likely the file was not found. Can you recheck the path? eg. is the segmatchcatkin_ws folder correct?

rdube commented 6 years ago

Simply go to the folder where 2011_09_30_drive_18.bag is located and do pwd to get the correct path.

VarunUmesh1407 commented 6 years ago

I rectified the previous error. but now i am facing a new one. [laser_mapper-2] process has died [pid 30749, exit code -11, cmd /home/eberhardt/segmatchcatkin_ws/devel_isolated/laser_mapper/lib/laser_mapper/laser_mapper_node __name:=laser_mapper __log:=/home/eberhardt/.ros/log/40989b54-a85f-11e7-989b-3ca9f455f8e8/laser_mapper-2.log]. log file: /home/eberhardt/.ros/log/40989b54-a85f-11e7-989b-3ca9f455f8e8/laser_mapper-2*.log Kindly help to resolve this.

thanks.

rdube commented 6 years ago

@Varun1407 I believe that the issue is not related to the launch file anymore (or of not having the bag file at the correct location). Please consider closing and re-opening new issues when a given problem is fixed.

For this new issue you could use GBD to get more information. See #47

rdube commented 6 years ago

@Varun1407 did that help?

rdube commented 6 years ago

@Varun1407 given the delay I will assume that this has been solved on your side by now.