ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

SBPLLatticePlannerStats.h file not found

asked 2012-07-04 00:45:37 -0600

gautam gravatar image

updated 2012-07-05 08:34:34 -0600

Lorenz gravatar image

the file SBPLLatticePlannerStats.h is missing from the sbpl_lattice_planner package available on https://kforge.ros.org/navigation/experimental/file/7ad215f4368f/sbpl_lattice_planner/include/sbpl_lattice_planner.

$ rosmake sbpl_lattice_planner on ubuntu 11.04 with ros electric gives following error:


[rosmake-0] Starting >>> nav_core [ make ]                                      
[rosmake-0] Finished <<< nav_core [PASS] [ 0.53 seconds ]                       
[rosmake-0] Starting >>> sbpl_lattice_planner [ make ]                          
[ rosmake ] All 17 linesbpl_lattice_planner: 0.7 ... [ 1 Active 56/57 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package sbpl_lattice_planner
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  -- checking for module 'sbpl'
  --   package 'sbpl' not found
  CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
    A required package was not found
  Call Stack (most recent call first):
    /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
    CMakeLists.txt:15 (pkg_check_modules)


  -- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package sbpl_lattice_planner written to:plete ]
[ rosmake ]    /home/auto/.ros/rosmake/rosmake_output-20120704-161258/sbpl_lattice_planner/build_output.log
[rosmake-0] Finished <<< sbpl_lattice_planner [FAIL] [ 0.81 seconds ]           
[ rosmake ] Halting due to failure in package sbpl_lattice_planner. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:                                                            
[ rosmake ] Built 57 packages with 1 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/auto/.ros/rosmake/rosmake_output-20120704-161258              
[ rosmake ] WARNING: Rosdep did not detect the following system dependencies as installed: sbpl Consider using --rosdep-install option or `rosdep install sbpl_lattice_planner

how to solve?

thankyou

edit retag flag offensive close merge delete

Comments

@gautam: can you paste the exact error that you receive regarding sbpllatticeplannerstats.h? I can build the stack just fine.

piyushk gravatar image piyushk  ( 2012-07-09 07:49:40 -0600 )edit

@piyush: the code sbpl_lattice_planner.cpp requires sbpllatticeplannerstats.h header file which is not present in the include directory of the package. kindly tell me if you have this file in your include folder. If you have it then where did you get the source from? Because it is absent in the

gautam gravatar image gautam  ( 2012-07-10 00:11:36 -0600 )edit

source repository (link mentioned above).

gautam gravatar image gautam  ( 2012-07-10 00:12:05 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-07-05 06:56:57 -0600

I think you are misinterpreting the error. The error states that the sbpl package was not found. You need to install the motion_planners stack before you can build the sbpl_lattice_planner package.

edit flag offensive delete link more
0

answered 2012-07-08 21:14:06 -0600

gautam gravatar image

hi piyush, i just want to clarify that there are possibly two errors. 1) the header file sbpllatticeplannerstats.h is missing which is required by the sbpl_lattice_planner.cpp file 2)that even after installing sbpl successfully rosmake sbpl_lattice_planner gives error which may be because of missing header.

thanks

edit flag offensive delete link more

Comments

@gautam: see comment added to original question. Also, unless you are adding an alternative solution to the original question, remember to use comments instead.

piyushk gravatar image piyushk  ( 2012-07-09 07:50:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-04 00:45:37 -0600

Seen: 408 times

Last updated: Jul 08 '12