How do I launch gmapping?
Hi,
after battling to get ROS working, i chose to work with gmapping so i downloaded the gmapping package and the openslamgmappingmaster 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'
-- ==> addsubdirectory(gmapping) -- Using these message generators: gencpp;genlisp;genpy CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (findpackage): 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 "openslamgmapping" to CMAKEPREFIXPATH or set "openslamgmappingDIR" to a directory containing one of the above files. If "openslamgmapping" 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 'openslamgmapping'. 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 (findpackage): 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 "openslamgmapping" to CMAKEPREFIXPATH or set "openslamgmappingDIR" to a directory containing one of the above files. If "openslamgmapping" 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/catkinws/build/CMakeFiles/CMakeOutput.log". See also "/home/space/catkinws/build/CMakeFiles/CMakeError.log". make: *** [cmakecheckbuildsystem] Erreur 1 Invoking "make cmakecheckbuildsystem" failed
I am sure I am missing a lot so if someone cans help!!
Space
Asked by Space on 2016-05-29 11:55:38 UTC
Answers
Seems like openslam_gmapping is missing.
Did you try sudo apt-get install ros-indigo-openslam-gmapping
?
Asked by Akif on 2016-05-30 02:20:46 UTC
Comments
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
Asked by Space on 2016-05-30 04:36:33 UTC
Comments