how to install Move_base action lib message
Hellow,
I'm trying to follow the tutorial from here so i created the package but I have this error :
-- ==> add_subdirectory(simple_navigation_goals)
CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
Could not find a configuration file for package move_base_msgs.
Set move_base_msgs_DIR to the directory containing a CMake configuration
file for move_base_msgs. The file will have one of the following names:
move_base_msgsConfig.cmake
move_base_msgs-config.cmake
Call Stack (most recent call first):
simple_navigation_goals/CMakeLists.txt:7 (find_package)
I guess it's because I miss some package but I have all those installed already :
ros@ros-K56CM:~$ dpkg -l | grep navigation
ii libdvdnav4 4.2.0-1 DVD navigation library
ii ros-groovy-common-msgs 1.9.17-0precise-20131011-0455-+0000 common_msgs contains messages that are widely used by other ROS packages. These includes messages for actions (actionlib_msgs), diagnostics (diagnostic_msgs), geometric primitives (geometry_msgs), robot navigation (nav_msgs), and common sensors (sensor_msgs), such as laser range finders, cameras, point clouds.
ii ros-groovy-nav-msgs 1.9.17-0precise-20131011-0140-+0000 nav_msgs defines the common messages used to interact with the navigation stack.
ii ros-groovy-navigation 1.10.3-s1387754744~precise planar navigation stack
ii ros-groovy-navigation-tutorials 0.1.1-s1387953507~precise navigation_tutorials
ii ros-groovy-rqt-nav-view 0.3.1-0precise-20131016-0109-+0000 rqt_nav_view provides a gui for viewing navigation maps and paths.
[EDIT]
rospack find move_base_msgs
/opt/ros/groovy/stacks/navigation/move_base_msgs
the CmakeLists :
cmake_minimum_required(VERSION 2.8.3)
project(simple_navigation_goals)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
actionlib
move_base_msgs
roscpp
)
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES simple_navigation_goals
# CATKIN_DEPENDS actionlib move_base_msgs roscpp
# DEPENDS system_lib
)
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(simple_navigation_goals src/hello.cpp)
target_link_libraries(simple_navigation_goals ${catkin_LIBRARIES})
Package.xml :
<?xml version="1.0"?>
<package>
<name>simple_navigation_goals</name>
<version>0.0.0</version>
<description>The simple_navigation_goals package</description>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>actionlib</build_depend>
<build_depend>move_base_msgs</build_depend>
<build_depend>roscpp</build_depend>
<run_depend>actionlib</run_depend>
<run_depend>move_base_msgs</run_depend>
<run_depend>roscpp</run_depend>
<export>
</export>
</package>
can you add the output of `rospack find move_base_msgs` to your question?