Closed learnonroad closed 3 years ago
Hi learnedonroad, thanks for pointing this problem out. I will have a look into this next week and get back to you
thanks a lot
Hi @learnonroad I just ran the planning_benchmark however, I cannot reproduce the issue. Could you push your branch in case you modified something? Or provide me with some instructions on how to reproduce the problem?
Which Eigen version are you using?
Looks like an out-of-bounds matrix read
Can you reproduce it @tomlankhorst ?
I did not make any changes to the code.My software env is:
ubuntu18.04
ros-melodic sudo apt-get install ros-melodic-desktop-full
eigen3 3.3.4:sudo apt-get install libeigen3-dev
gtest sudo apt-get install libgtest-dev
boost
ompl 1.4 sudo apt install ros-melodic-ompl
when I ran the catkin build
,there are some warnings
Warnings << se2_planning:cmake /home/zk/workspace/se2_test/logs/se2_planning/build.cmake.000.log
CMake Warning at /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:166 (message):
catkin_package() DEPENDS on 'Eigen3' but neither 'Eigen3_INCLUDE_DIRS' nor
'Eigen3_LIBRARIES' is defined.
Call Stack (most recent call first):
/opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
CMakeLists.txt:37 (catkin_package)
then,I changed the se2_planning/CMakeLists.txt line 47-49.
catkin_package(
INCLUDE_DIRS
include
${EIGEN3_INCLUDE_DIR}
test
LIBRARIES
${PROJECT_NAME}
CATKIN_DEPENDS
${CATKIN_PACKAGE_DEPENDENCIES}
DEPENDS
Eigen3 ##-->> EIGEN3
Boost
ompl ##-->>OMPL
)
This warning disappeared.
CMake Warning at /home/zk/workspace/se2_test/src/se2_navigation/se2_planning/CMakeLists.txt:113 (find_package):
By not providing "Findcmake_clang_tools.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"cmake_clang_tools", but CMake did not find one.
Could not find a package configuration file provided by "cmake_clang_tools"
with any of the following names:
cmake_clang_toolsConfig.cmake
cmake_clang_tools-config.cmake
Add the installation prefix of "cmake_clang_tools" to CMAKE_PREFIX_PATH or
set "cmake_clang_tools_DIR" to a directory containing one of the above
files. If "cmake_clang_tools" provides a separate development package or
SDK, be sure it has been installed.
I did not konw how to fix it.
I don't konw if the above warnings will affect my running results. Maybe I should try to compile Eigen from source?Or can you tell me your operating env?
I can reproduce the error. It'll be fixed by Thu. Don't worry about the warnings for now.
Hi @learnonroad ,
Thank you for your patience. I added this pull request which should address the issue you opened. Could you please verify that your problem does no longer happen?
@jelavice It runs successfullt,thank you very much.
For the future, you might want to build in release mode since the code runs much faster then. See README in se2_planning.
i had run the planning_benchmark node ,but it not run well.
Then i run it in gdb:
I teied to solve this problem,but it took a long time.Thank you very much for helping me solve this problem.