Closed Megacephalo closed 8 years ago
Hi Megacephalo,
I have just updated a newer version of the planner. The error that you showed is related to a recent change in the Costmap_2D API.
You can fork or merge the new commits that I pushed on my repo.
Best,
L.
Dear Luigi Palmieri,
Thank you for your help! I synchronized my branch with yours and it does not complain anymore on the linkage to costmap. However, there is another error that I cannot resolve on my own. The compiler cannot find where to import spencer_nav_msgs with the following error
-- +++ processing catkin package: 'srl_global_planner'
-- ==> add_subdirectory(srl_global_planner)
-- Compiling with maximum optimization, will only work on Core i7 processors! (-mavx -march=corei7-avx -msse4.2 -O3 -funroll-loops -fomit-frame-pointer -ftree-vectorize ...)
CMake Warning at srl_global_planner/CMakeLists.txt:18 (MESSAGE):
Compiling with AVX off
-- Using these message generators: gencpp;genlisp;genpy
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by "spencer_nav_msgs"
with any of the following names:
spencer_nav_msgsConfig.cmake
spencer_nav_msgs-config.cmake
Add the installation prefix of "spencer_nav_msgs" to CMAKE_PREFIX_PATH or
set "spencer_nav_msgs_DIR" to a directory containing one of the above
files. If "spencer_nav_msgs" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
srl_global_planner/CMakeLists.txt:29 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/iceira/indigo_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/iceira/indigo_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
I have installed spencer_people_tracking before so I have the mesages
But even though I searched through SRL_RHCF_PLANNER, I could not find any definition of spencer_nav_msgs either, I guess it should be something like a "msg" folder with all the message files in it. Would you mind pointing me out a way to link the message? I totally appreciate your help and patience !! :)
Please just comment line 29 of the CMakeLists.txt out, it should work.
Thank you! That would do.
Cheers !
Hi! When I tried to catkin_make the pkg, it simply pops up this error message every time. I tried moving"costmap_2d" file outside of the workspace, look into SMP to see if that's the source of the problem, creating a brand new workspace, but the problem persists. I already checked that I have
My colleague can successfully catkin_make the package, while I failed in both of my computers. What is the problem and how should I resolve it?
And the complete make and error message:
Thank you so much in advance !!