ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How do I launch gmapping?

asked 2016-05-29 11:55:38 -0500

Space gravatar image

Hi, after battling to get ROS working, i chose to work with gmapping so i downloaded the gmapping package and the openslam_gmapping_master packages (after reading a lot of posts, it seems like to be needed). Now i can't launch the gmapping as i get thisspace@space-HP-ProBook:~$ rosrun gmapping slam_gmapping scan:=base_scan [rospack] Error: package 'gmapping' not found

i tried to rebuild my catkin file as a results of feedback on forum but then i get this error

-- +++ processing catkin package: 'gmapping'

-- ==> add_subdirectory(gmapping) -- Using these message generators: gencpp;genlisp;genpy CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "openslam_gmapping" with any of the following names:

openslam_gmappingConfig.cmake
openslam_gmapping-config.cmake

Add the installation prefix of "openslam_gmapping" to CMAKE_PREFIX_PATH or set "openslam_gmapping_DIR" to a directory containing one of the above files. If "openslam_gmapping" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): gmapping/CMakeLists.txt:4 (find_package)

-- Could not find the required component 'openslam_gmapping'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "openslam_gmapping" with any of the following names:

openslam_gmappingConfig.cmake
openslam_gmapping-config.cmake

Add the installation prefix of "openslam_gmapping" to CMAKE_PREFIX_PATH or set "openslam_gmapping_DIR" to a directory containing one of the above files. If "openslam_gmapping" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): gmapping/CMakeLists.txt:4 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/space/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/space/catkin_ws/build/CMakeFiles/CMakeError.log". make: * [cmake_check_build_system] Erreur 1 Invoking "make cmake_check_build_system" failed

I am sure I am missing a lot so if someone cans help!!

Space

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-05-30 04:36:33 -0500

Space gravatar image

Hi Akif,

thank you for your replay

it seems like the openslam_gmapping is already installed. when i use roscd on gmapping and slamgmapping ros seems to be aware about the files. but i still get the

[rosrun] Couldn't find executable named slam_gmapping below /opt/ros/indigo/share/gmapping

Any clue on what the problem!!??

Thanks

edit flag offensive delete link more
0

answered 2016-05-30 02:20:46 -0500

Akif gravatar image

Seems like openslam_gmapping is missing.

Did you try sudo apt-get install ros-indigo-openslam-gmapping ?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-05-29 11:55:38 -0500

Seen: 4,840 times

Last updated: May 30 '16