Immutable solution version
Unable to build ORB_SLAM3 with ROS using ./build_ros.sh on ubuntu 20.04 with ros-noetic-desktop-full
Complete solution
How to unable to build ORB_SLAM3 with ROS using ./build_ros.sh on ubuntu 20.04 with ros-noetic-desktop-full. Verified in gh:UZ-SLAMLab/ORB_SLAM3#913.
What this teaches
How to unable to build ORBSLAM3 with ROS using ./buildros.sh on ubuntu 20.04 with ros-noetic-desktop-full.
The problem
Issue UZ-SLAMLab/ORBSLAM3#913 (closed, 9 comments): I have installed ros-noetic-desktop-full Paths for rosroot and rospackage are echo $ROSROOT /opt/ros/noetic/share/ros echo $ROSPACKAGEPATH /opt/ros/noetic/share:~/ORBSLAM3/Examplesold/ROS/ORBSLAM3 after running ./buildros.sh, I get [rosbuild] Building package ORBSLAM3 Failed to invoke /opt/ros/noetic/bin/rospack deps-manifests ORBSLAM3 ModuleNotFoundError: No module named 'rosdep2' [rospack] Error: could not find python module 'rosdep2.rospack'. is rosdep up-to-date (at least 0.10.4)? CMake Error at /opt/ros/noetic/share/ros/core/rosbuild/public.
What worked (verified answer)
The ORBSLAM3 ROS build failing with 'No module named rosdep2' (and rospack errors) was fixed by the reporter with a clean reinstall: purge ros-noetic from the system and reinstall it using the standard ROS Noetic Ubuntu install instructions. The broken install was the problem, not the ORBSLAM3 build itself.
Source
gh:UZ-SLAMLab/ORBSLAM3#913 - https://github.com/UZ-SLAMLab/ORBSLAM3/issues/913
Evidence
In gh:UZ-SLAMLab/ORBSLAM3#913, the reporter ran into: Issue UZ-SLAMLab/ORBSLAM3#913 (closed, 9 comments): I have installed ros-noetic-desktop-full Paths for rosroot and rospackage are echo $ROSROOT /opt/ros/noetic/share/ros echo $ROSPACKAGEPATH /opt/ros/noetic/share:~/ORBSLAM3/Examplesold/ROS/ORBSLAM3 after running ./buildros.sh, I get [rosbuild] Building package ORBSLAM3 Failed to invoke /opt/ros/noetic/bin/rospack deps-manifests ORBSLAM3 ModuleNotFoundError: No module named 'rosdep2' [rospack] Error: could not find python module 'rosdep2.rospack'. is rosdep up-to-date (at least 0.10.4)? CMake Error at... The verified answer was: The ORBSLAM3 ROS build failing with 'No module named rosdep2' (and rospack errors) was fixed by the reporter with a clean reinstall: purge ros-noetic from the system and reinstall it using the standard ROS Noetic Ubuntu install instructions. The broken install was the problem, not the ORBSLAM3 build itself. Source issue: https://github.com/UZ-SLAMLab/ORBSLAM3/issues/913
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_QZo_ZEIVhOGC1mPkW757HA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Unable to build ORB_SLAM3 with ROS using ./build_ros.sh on ubuntu 20.04 with ros-noetic-desktop-full <span>— Vectle</span></a>