ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ROS 2 Humble installation on Raspberry pi 4

asked 2022-11-11 14:54:57 -0500

benmo gravatar image

Hello,

I'm trying to install ROS2 Humble on my raspberry pi 4 B. I've been following the installation steps for Ubuntu (Debian) on the humble documentation. However, when I try sudo apt install ros-humble-desktop I get the error E: Unable to locate package ros-humble-desktop

My OS is Ubuntu 22.04.1 LTS Jammy 64-bit from the Raspberry Pi imager, and the linux kernel version is 5.15.0-1017-raspi.

When I run sudo apt update I get:

Hit:1 http://packages.ros.org/ros2/ubuntu jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

so it looks like the ROS2 repository is there.

When I try apt search ros-*desktop I get the result

Sorting... Done
Full Text Search... Done
ros-desktop/jammy 1.16 all
  Robot OS desktop metapackage

ros-desktop-dev/jammy 1.16 all
  Robot OS desktop development metapackage

ros-desktop-full/jammy 1.16 all
  Robot OS desktop-full metapackage

ros-desktop-full-dev/jammy 1.16 all
  Robot OS desktop-full development metapackage

ros-desktop-full-lisp-dev/jammy 1.16 all
  LISP Robot OS desktop-full development metapackage

ros-desktop-full-python-dev/jammy 1.16 all
  Python Robot OS desktop-full development metapackage

ros-desktop-lisp-dev/jammy 1.16 all
  LISP Robot OS desktop development metapackage

ros-desktop-python-dev/jammy 1.16 all
  Python Robot OS desktop development metapackage

Is the ros-desktop package the same as ros-humble-desktop? Thank you!

edit retag flag offensive close merge delete

Comments

I was successful at installing ros-humble-base over Ubuntu 22.04 Server (64-bit) LTS on my RPi4 with the idea of adding the Ubuntu desktop (intended Xfce) later and adding the ROS2 visualization packages, tutorials, and demos that come with ros-humble-desktop after that. I should mention I was unable to get the Xfce with TightVNCserver properly configured so starting with Ubuntu 22.04 Desktop would have worked better.

RobotDreams gravatar image RobotDreams  ( 2022-11-12 18:55:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-02-11 13:55:03 -0500

Andy Blight gravatar image

I just had the same problem. I thought I had installed Ubuntu 22.04.1 LTS Jammy 64-bit but could not find any ros-humble packages. After a while, I realised that I had installed the 32-bit OS by mistake. I verified this using this command:

$ dpkg --print-architecture
armhf

The correct response from the 64-bit OS is arm64. Then I installed the 64-bit image and all the ros-humble packages were available.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-11-11 14:54:57 -0500

Seen: 1,642 times

Last updated: Feb 11 '23