紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
ORB-SLAM2 ROS部分代码编译问题
-
大佬们,
我现在在编译ORB-SLAM2 ROS部分代码,他是用的ROS1,所以我使用了wget http://fishros.com/install -O fishros && . fishros
,由于我的系统是UBuntu22.04,所以我安装了docker里的ROS1,但是依旧编译不成功。但是docker里的小海龟是可以跑起来的。
报错信息如下:-- Found PythonInterp: /usr/bin/python (found version "2.7.17") [rosbuild] Building package ORB_SLAM2 [rosbuild] Error from directory check: /opt/ros/melodic/share/ros/core/rosbuild/bin/check_same_directories.py /home/xin/Documents/ORB_SLAM2/Examples/ROS/ORB_SLAM2 1 Traceback (most recent call last): File "/opt/ros/melodic/share/ros/core/rosbuild/bin/check_same_directories.py", line 46, in <module> raise Exception Exception CMake Error at /opt/ros/melodic/share/ros/core/rosbuild/private.cmake:99 (message): [rosbuild] rospack found package "ORB_SLAM2" at "", but the current directory is "/home/xin/Documents/ORB_SLAM2/Examples/ROS/ORB_SLAM2". You should double-check your ROS_PACKAGE_PATH to ensure that packages are found in the correct precedence order. Call Stack (most recent call first): /opt/ros/melodic/share/ros/core/rosbuild/public.cmake:177 (_rosbuild_check_package_location) CMakeLists.txt:4 (rosbuild_init) -- Configuring incomplete, errors occurred! See also "/home/xin/Documents/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build/CMakeFiles/CMakeOutput.log".
如果docker还是不行的话:
我需要在我的Ubuntu22系统上编译成功ORB-SLAM里的ros1代码请问我可以在Ubuntu22里安装ros1吗