首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将ORB_SLAM作为ROS节点运行时出错

将ORB_SLAM作为ROS节点运行时出错
EN

Stack Overflow用户
提问于 2017-07-26 17:17:18
回答 1查看 999关注 0票数 0

按照此link中提供的教程,我将尝试在ROS Indigo中将ORB_SLAM作为ROS节点运行。在执行/.build_ros.sh行之后,我面临着一系列错误,

代码语言:javascript
复制
Building ROS nodes
mkdir: cannot create directory ‘build’: File exists
[rosbuild] Building package ORB_SLAM2
Failed to invoke /opt/ros/indigo/bin/rospack deps-manifests ORB_SLAM2
[rospack] Error: package 'ORB_SLAM2' depends on non-existent package 'image_transport' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'


CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:129 (message):


  Failed to invoke rospack to get compile flags for package 'ORB_SLAM2'.
  Look above for errors from rospack itself.  Aborting.  Please fix the
  broken dependency!

Call Stack (most recent call first):
  /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)
  CMakeLists.txt:4 (rosbuild_init)


-- Configuring incomplete, errors occurred!
See also "/home/ros/ORB_SLAM2-master/Examples/ROS/ORB_SLAM2/build/CMakeFiles/CMakeOutput.log".
See also "/home/ros/ORB_SLAM2-master/Examples/ROS/ORB_SLAM2/build/CMakeFiles/CMakeError.log".
[rosbuild] Building package ORB_SLAM2
Failed to invoke /opt/ros/indigo/bin/rospack deps-manifests ORB_SLAM2
[rospack] Error: package 'ORB_SLAM2' depends on non-existent package 'image_transport' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'


CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:129 (message):


  Failed to invoke rospack to get compile flags for package 'ORB_SLAM2'.
  Look above for errors from rospack itself.  Aborting.  Please fix the
  broken dependency!

Call Stack (most recent call first):
  /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)
  CMakeLists.txt:4 (rosbuild_init)


-- Configuring incomplete, errors occurred!
See also "/home/ros/ORB_SLAM2-master/Examples/ROS/ORB_SLAM2/build/CMakeFiles/CMakeOutput.log".
See also "/home/ros/ORB_SLAM2-master/Examples/ROS/ORB_SLAM2/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1

我不能解决这些错误,请帮助调试,如果有人遇到了同样的问题。谢谢。

EN

回答 1

Stack Overflow用户

发布于 2017-07-26 19:05:22

您可以安装image_transport,请尝试:

rosdep update sudo apt-get install ros-indigo-image-transport

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45322569

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档