@小鱼 好的,这个问题我解决了
重要提示
鱼香小铺正式开业,最低499可入手一台能建图会导航的移动机器人,淘宝搜店:鱼香ROS 或点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
1019116108 发布的最新帖子
-
第8章slam建图,加入imu信息后报错
尝试slam建图加入imu后,报错:
[cartographer_node-1] *** Check failure stack trace: *** [cartographer_node-1] @ 0x7f7ef48c0b03 google::LogMessage::Fail() [cartographer_node-1] @ 0x7f7ef48c89d1 google::LogMessage::SendToLog() [cartographer_node-1] @ 0x7f7ef48c07c2 google::LogMessage::Flush() [cartographer_node-1] @ 0x7f7ef48c278f google::LogMessageFatal::~LogMessageFatal() [cartographer_node-1] @ 0x555ccfa848e7 (unknown) [cartographer_node-1] @ 0x555ccfa84966 (unknown) [cartographer_node-1] @ 0x555ccfa84d53 (unknown) [cartographer_node-1] @ 0x555ccfb00ff3 (unknown) [cartographer_node-1] @ 0x555ccfaa340c (unknown) [cartographer_node-1] @ 0x555ccfa67d39 (unknown) [cartographer_node-1] @ 0x555ccf9d2fb3 (unknown) [cartographer_node-1] @ 0x7f7ef3829d90 (unknown) [cartographer_node-1] @ 0x7f7ef3829e40 __libc_start_main [cartographer_node-1] @ 0x555ccf9d6535 (unknown) [ERROR] [cartographer_node-1]: process has died [pid 3858, exit code -6, cmd '/opt/ros/humble/lib/cartographer_ros/cartographer_node -configuration_directory /home/ros2/d2lros2/chapt8/chapt8_ws/install/fishbot_cartographer/share/fishbot_cartographer/config -configuration_basename fishbot_2d.lua --ros-args -r __node:=cartographer_node --params-file /tmp/launch_params_jvz1wo8x'].
小鱼哥,这是咋回事啊
-
RE: Nav2源码安装colcon build出现很多问题
--- stderr: nav2_amcl /usr/bin/ld: 找不到 /lib64/libc.so.6: 没有那个文件或目录 /usr/bin/ld: 找不到 /usr/lib64/libc_nonshared.a: 没有那个文件或目录 /usr/bin/ld: 找不到 /lib64/librt.so.1: 没有那个文件或目录 collect2: error: ld returned 1 exit status gmake[2]: *** [src/map/CMakeFiles/map_lib.dir/build.make:145:src/map/libmap_lib.so] 错误 1 gmake[1]: *** [CMakeFiles/Makefile2:293:src/map/CMakeFiles/map_lib.dir/all] 错误 2 gmake: *** [Makefile:146:all] 错误 2 --- Failed <<< nav2_amcl [0.40s, exited with code 2]
现在是报这个问题了,鱼哥哥,帮我看看
-
Nav2源码安装colcon build出现很多问题
至于问题有点多,我放图可能不太好。我是在我自己conda的 ros2环境下操作的。就一直出现问题,一会是缺numpy,一会是缺empy 然后cmake的又缺了。然后现在又有这些问题,编译不成功。。。,以下是一段输出。我想问一下这难道跟我的conda环境有关吗?计算机小白,只知道pip对于不同环境会有自己的包
CMake Warning at src/CMakeLists.txt:1 (add_library): Cannot generate a safe runtime search path for target nav2_util_core because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. CMake Warning at src/CMakeLists.txt:26 (add_executable): Cannot generate a safe runtime search path for target lifecycle_bringup because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_node_utils because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:3 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_service_client because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:9 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_string_utils because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:13 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_lifecycle_utils because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:17 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_actions because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:21 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_lifecycle_node because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:25 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_lifecycle_cli_node because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:29 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_geometry_utils because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:33 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_odometry_utils because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:37 (ament_add_gtest) CMake Warning at /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable): Cannot generate a safe runtime search path for target test_robot_utils because files in some directories may conflict with libraries in implicit directories: runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /home/ros2/miniconda3/envs/ros2/lib Some of these libraries may not be found correctly. Call Stack (most recent call first): /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable) /opt/ros/humble/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable) test/CMakeLists.txt:41 (ament_add_gtest) --- Finished <<< nav2_util [50.4s] Starting >>> nav_2d_utils Starting >>> nav2_behavior_tree Starting >>> nav2_lifecycle_manager Starting >>> nav2_map_server --- stderr: nav2_map_server CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): GRAPHICSMAGICKCPP_LIBRARIES (missing: GRAPHICSMAGICKCPP_INCLUDE_DIRS) Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake_modules/FindGRAPHICSMAGICKCPP.cmake:31 (find_package_handle_standard_args) CMakeLists.txt:17 (find_package)
-
RE: Nav2 源码安装 colcon build没有numpy
应该是只调用了base环境的依赖查找,base也pip了numy。然而还是有许多其他依赖项找不到。直接apt安装吧暂时,等鱼哥指示