View my account

Installing Realsense SDK for ROS Humble in Ubuntu 22.04 (Raspberry Pi 4B)

Comments

4 comments

  • MartyG

    Hi Eliezerjustin4  The DKMS packages at the distribution_linux.md page are designed for use on PCs.  When installing for Ubuntu on Raspberry Pi, it is recommended to build the SDK from source code using the libuvc backend installation method at the link below.

    https://github.com/IntelRealSense/librealsense/blob/master/doc/libuvc_installation.md

     

    The libuvc method provides a pre-made build script called libuvc_installation.sh

    https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh

     

    Once you have successfully installed librealsense on your Pi 4 then the RealSense ROS2 wrapper should be built from source code using 'colcon build'.  Instructions for doing so can be found by visiting the link below and expanding open 'Install Intel® RealSense ROS2 wrapper' and following the guidance in the 'Option 2: Install from source' section.

    https://github.com/IntelRealSense/realsense-ros?tab=readme-ov-file#installation-on-ubuntu

     

    0
    Comment actions Permalink
  • Eliezerjustin4

    Hi MartyX Grover,

    The installation method you mentioned above also gave me an error:

    E: Failed to fetch https://librealsense.intel.com/Debian/dists/stable/InRelease  403  Forbidden [IP: 3.164.92.93 443]
    E: The repository 'https://librealsense.intel.com/Debian stable InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Translations (main/i18n/Translation-en_CA) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target Translations (main/i18n/Translation-en_CA) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11 (main/dep11/Components-arm64.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1
    W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/archive_uri-https_librealsense_intel_com_debian_apt-repo-jammy.list:1 and /etc/apt/sources.list.d/librealsense.list:1


    0
    Comment actions Permalink
  • MartyG

    There may be a problem with downloading files from the online repository for some reason.  Some countries can have problems with such downloads due to local internet restrictions.

     

    You could instead try the RSUSB backend installation method, which works similarly to the libuvc method but involves more manual labour.  It involves downloading the source code as a zip file from the SDK Releases page, extracting the source code folder from the zip file and then building the contents of the folder.  Instructions for doing so can be found here:

    https://github.com/IntelRealSense/librealsense/issues/9931#issuecomment-964289692

    0
    Comment actions Permalink
  • MartyG

    0
    Comment actions Permalink

Please sign in to leave a comment.