鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    ros2 moveit2 编译错误

    已定时 已固定 已锁定 已移动
    机械臂运动规划
    moveit2 机械臂仿真
    4
    4
    939
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 5728716925
      L
      最后由 编辑

      安装依赖后
      编译文件时运行:
      colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
      Starting >>> moveit_common
      Starting >>> moveit_resources_panda_description
      Starting >>> moveit_configs_utils
      Starting >>> moveit_resources_fanuc_description
      Starting >>> moveit_task_constructor_msgs
      Starting >>> moveit_resources_pr2_description
      Starting >>> moveit_resources_prbt_support
      Starting >>> rviz_visual_tools
      Finished <<< moveit_common [0.96s]
      Starting >>> rviz_marker_tools
      Finished <<< moveit_resources_panda_description [0.99s]
      Starting >>> moveit_resources_panda_moveit_config
      Finished <<< moveit_resources_prbt_support [1.44s]
      Starting >>> moveit_resources_benchmarking
      Finished <<< moveit_configs_utils [1.53s]
      Finished <<< moveit_resources_fanuc_description [1.54s]
      Starting >>> rosparam_shortcuts
      Starting >>> moveit_resources_fanuc_moveit_config
      Finished <<< moveit_resources_pr2_description [1.57s]
      Starting >>> dual_arm_panda_moveit_config
      Finished <<< moveit_resources_panda_moveit_config [1.65s]
      Starting >>> moveit_core
      Finished <<< moveit_resources_benchmarking [1.23s]
      Finished <<< moveit_resources_fanuc_moveit_config [1.17s]
      Finished <<< dual_arm_panda_moveit_config [1.14s]
      Starting >>> moveit_resources
      --- stderr: moveit_core
      CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
      The package name passed to find_package_handle_standard_args (libdw) does
      not match the name of the calling package (backward_ros). This can lead to
      problems in calling code that expects find_package result variables
      (e.g., _FOUND) to follow a certain pattern.
      Call Stack (most recent call first):
      /opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:55 (find_package_handle_standard_args)
      /opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
      /home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
      CMakeLists.txt:6 (moveit_package)
      This warning is for project developers. Use -Wno-dev to suppress it.

      CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
      The package name passed to find_package_handle_standard_args (libbfd)
      does not match the name of the calling package (backward_ros). This can
      lead to problems in calling code that expects find_package result
      variables (e.g., _FOUND) to follow a certain pattern.
      Call Stack (most recent call first):
      /opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:66 (find_package_handle_standard_args)
      /opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
      /home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
      CMakeLists.txt:6 (moveit_package)
      This warning is for project developers. Use -Wno-dev to suppress it.

      CMake Warning (dev) at /usr/local/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
      The package name passed to find_package_handle_standard_args (Backward)
      does not match the name of the calling package (backward_ros). This can
      lead to problems in calling code that expects find_package result
      variables (e.g., _FOUND) to follow a certain pattern.
      Call Stack (most recent call first):
      /opt/ros/foxy/share/backward_ros/cmake/BackwardConfig.cmake:128 (find_package_handle_standard_args)
      /opt/ros/foxy/share/backward_ros/cmake/backward_rosConfig.cmake:41 (include)
      /home/z/moveit2/install/moveit_common/share/moveit_common/cmake/moveit_package.cmake:36 (find_package)
      CMakeLists.txt:6 (moveit_package)
      This warning is for project developers. Use -Wno-dev to suppress it.

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

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

      generate_parameter_libraryConfig.cmake
      generate_parameter_library-config.cmake
      

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


      Failed <<< moveit_core [0.76s, exited with code 1]
      Aborted <<< moveit_resources [0.69s]
      Aborted <<< rosparam_shortcuts [2.37s]
      Aborted <<< rviz_visual_tools [4.70s]
      Aborted <<< moveit_task_constructor_msgs [4.93s]
      Aborted <<< rviz_marker_tools [7.50s]

      Summary: 10 packages finished [8.85s]
      1 package failed: moveit_core
      5 packages aborted: moveit_resources moveit_task_constructor_msgs rosparam_shortcuts rviz_marker_tools rviz_visual_tools
      2 packages had stderr output: moveit_core rviz_marker_tools
      41 packages not processed

      15031539061 3596479103 2 条回复 最后回复 回复 引用 0
      • 15031539061
        China @572871692
        最后由 编辑

        @572871692
        你好,可以添加你一下吗,我也遇到了您相同的问题
        vx:j1503153906

        28915512182 1 条回复 最后回复 回复 引用 0
        • 3596479103
          向上 @572871692
          最后由 编辑

          此回复已被删除!
          1 条回复 最后回复 回复 引用 0
          • 28915512182
            one piece @1503153906
            最后由 编辑

            @1503153906 您好请问您解决了吗

            1 条回复 最后回复 回复 引用 0
            • 第一个帖子
              最后一个帖子
            皖ICP备16016415号-7
            Powered by NodeBB | 鱼香ROS