goldleaf3i / prior-maps-exploration

MIT License
3 stars 0 forks source link

Miss "turtlebot_navigation" package #1

Open Pao-Te opened 3 years ago

Pao-Te commented 3 years ago

I run on Ubuntu 18.04 LTS / ROS Melodic

I run on the terminal :

  1. cd catkin_ws/src

  2. git clone https://github.com/goldleaf3i/prior-maps-exploration

  3. catkin build

And the terminal shows :

Errors << blueprint_exploration:cmake /home/pao-te/catkin_ws/logs/blueprint_exploration/build.cmake.017.log CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "turtlebot_navigation" with any of the following names:

turtlebot_navigationConfig.cmake
turtlebot_navigation-config.cmake

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

cd /home/pao-te/catkin_ws/build/blueprint_exploration; catkin build --get-env blueprint_exploration | catkin env -si /usr/bin/cmake /home/pao-te/catkin_ws/src/prior-maps-exploration/blueprint_exploration --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/pao-te/catkin_ws/devel/.private/blueprint_exploration -DCMAKE_INSTALL_PREFIX=/home/pao-te/catkin_ws/install; cd - ............................................................................... Failed << blueprint_exploration:cmake [ Exited with code 1 ]
Failed <<< blueprint_exploration [ 1.1 seconds ]
Finished <<< nav2d_exploration [ 15.6 seconds ]

It seems like missing "turtlebot_navigation" package, so I browse http://wiki.ros.org/turtlebot_navigation.

There is not Melodic release.

I am a new in Ubuntu.

Could you tell me how to fix it?

Thank you a lot.

goldleaf3i commented 3 years ago

Hi,

The code was developed with Ubuntu 16 (so ROS Kinetic) where the turtlebotexploration package was supported through repositories. If I remember correctly, we used this code also on Ubuntu 18 (Ros Melodic) and it worked. If the turletbot* repositories are not in the official repositories of Melodic (as I suppose), have you tried to clone the repositories within your catkin_ws/src and build them directly from their repo on git (which is linked on the ROS wiki)?

here you can find them

The same holds for the other packages required in the dependencies (see readme file).

Pao-Te commented 3 years ago

Thanks a lot. It works for this issue. :)