Ask Your Question
0

Failed to use gmapping launchfile [new user]

asked 2014-08-28 11:33:01 -0600

AliAs gravatar image

updated 2014-08-28 12:11:57 -0600

I have slam_gmapping package that contains these folders:

    slam_gmapping-hydro-devel

       gmapping

           launch

           src

           test

       slam_gmapping

I want to launch it with launch file with my own parameters.

the steps I have done are as follow:

  • download the package

  • copy the package to the catkin_ws --> src

  • make a build folder in gmapping folder, so it is now look like this:

    slam_gmapping-hydro-devel
    
       gmapping
    
           launch
    
           src
    
           test
    
           build
    
       slam_gmapping
    
  • build the package using make, cmake .., catkin_make (don't know exactly what they do!)

The question is after those steps, "roslaunch gmapping [Tab]" does not find any launch file But there is a launch file "slam_gmapping_pr2.launch" in launch folder I also tried to use launch file provided here . But the same problem exist. The problem is that ROS does not detect any launch file in the gmapping package! how can I solve the problem?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-08-28 12:42:11 -0600

bvbdort gravatar image

updated 2014-08-28 12:45:04 -0600

overlay the gmapping package you are building from source.

Without overylaying your package just goto launch folder and do roslaunch from there, but it will call gmapping installed with your ros installation not the package you build from source.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-08-28 11:33:01 -0600

Seen: 86 times

Last updated: Aug 28 '14