rock-planning / planning-lama

Integration package for the PDDL planner LAMA
GNU General Public License v3.0
7 stars 3 forks source link

Installation instructions unclear #2

Open mfinemorris opened 3 years ago

mfinemorris commented 3 years ago

The README claims that this repository contains executables, but I cannot find any executable files. When I attempted to compile the files myself, I received the following error message:

CMake Warning at CMakeLists.txt:8 (find_package):
  By not providing "FindRock.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Rock", but
  CMake did not find one.

  Could not find a package configuration file provided by "Rock" with any of
  the following names:

    RockConfig.cmake
    rock-config.cmake

  Add the installation prefix of "Rock" to CMAKE_PREFIX_PATH or set
  "Rock_DIR" to a directory containing one of the above files.  If "Rock"
  provides a separate development package or SDK, be sure it has been
  installed.

CMake Error at CMakeLists.txt:9 (rock_init):
  Unknown CMake command "rock_init".

I'm assuming that Rock refers to the Robot Construction Kit. I really do not want to have to install Rock just so I can use the planner, but since it seems like it is currently impossible to use the planner without Rock, I followed the instructions here https://www.rock-robotics.org/documentation/autoproj/bootstrap.html to try to get it setup. Once I had done that I attempted to used the commands autoproj update --all-known-packages and autoproj build --all-known-packages, but received the error message Unknown switches "--all-known-packages". After looking through the Rock documentation, I determined that I probably need to update my autoproj/manifest file, but I can't tell which packages I need at minimum, and the documentation for installing packages (https://www.rock-robotics.org/documentation/tutorials/190_installing_packages.html#adding-package-sets) is unclear and looks out-of-date when compared with the package index page.

Could you please provide the manifest file and any other instructions necessary to install this package?

2maz commented 3 years ago

Thanks for reporting this issue. Pls have a look at the branch "update_install_instructions" for a standalone installation. Try out the install.sh script, after inspecting it. Make sure you are using python3 to run the planner.