I'm trying to compile openslam_gmapping package to build ros node for gmapping, because i want to modify the code. I download it from (https://github.com/ros-perception/openslam_gmapping). And using catkin_make to compile this package. This runs successfully, but it does not generate any executable files but some share objects(libgridfastslam.so,libscanmatcher.so... in devel/lib).
I read the cmakelists.txt. it seems not command to add executable file.
"""
cmake_minimum_required(VERSION 2.8)
project(openslam_gmapping)
Do I need to modify cmakelists? I just want to build a gmapping node from source so i could using it just like 'rosrun gmapping slam_gmapping'. What Shoud I do? Is there any way to build gmapping ros node from source?
My environment:
ubuntu12.04-hydro.
I already source the setup.bash of my catkin workspace.
I just download the code and do catkin-make and there is no executable file in devel and i try to run 'rosrun openslam ', there is nothing in second argument when i using tab.
This package is just the library, as found on openslam.org but with catkin and some build fixes -- the ROS node is built on top of the library and located here: https://github.com/ros-perception/slam_gmapping
Hi there,
I'm trying to compile openslam_gmapping package to build ros node for gmapping, because i want to modify the code. I download it from (https://github.com/ros-perception/openslam_gmapping). And using catkin_make to compile this package. This runs successfully, but it does not generate any executable files but some share objects(libgridfastslam.so,libscanmatcher.so... in devel/lib). I read the cmakelists.txt. it seems not command to add executable file. """ cmake_minimum_required(VERSION 2.8) project(openslam_gmapping)
find_package(catkin)
catkin_package( INCLUDE_DIRS include LIBRARIES gridfastslam scanmatcher sensor_base sensor_range sensor_odometry utils )
include_directories(include)
add_subdirectory(gridfastslam) add_subdirectory(scanmatcher) add_subdirectory(sensor) add_subdirectory(utils)
install(DIRECTORY include/ DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION} FILESMATCHING PATTERN ".h" PATTERN "_.hxx" PATTERN ".svn" EXCLUDE ) """
Do I need to modify cmakelists? I just want to build a gmapping node from source so i could using it just like 'rosrun gmapping slam_gmapping'. What Shoud I do? Is there any way to build gmapping ros node from source?
My environment: ubuntu12.04-hydro. I already source the setup.bash of my catkin workspace. I just download the code and do catkin-make and there is no executable file in devel and i try to run 'rosrun openslam ', there is nothing in second argument when i using tab.
Please help me. Thanks.