Installing ROS 2 on Raspberry Pi 3
Hi,
I'm trying to install ROS 2 on Raspberry Pi 3 with Xenomai. I am from Brazil, so I must to change the repository server in "/etc/apt/sources.list" file to "deb http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi" to install the programs on the system. I follow the procedures for installing in the following link:
https://github.com/ros2/ros2/wiki/Rea...
However, when trying to install the "development tools and ROS tools", the following messages occur:
root@raspberrypi:/home/pi # sudo apt update && sudo apt install -y
build-essential git python3-colcon-common-extensions python3-pip
python-rosdep python3-vcstoll wget
Hit http://archive.raspberrypi.org jessie InRelease
Ign http://repo.ros2.org jessie InRelease
Ign http://repo.ros2.org jessie Release.gpg
Ign http://repo.ros2.org jessie Release
Hit http://archive.raspbian.org jessie InRelease
Get:1 http://archive.raspbian.org jessie/main armhf Packages [9,537 kB]
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Err http://repo.ros2.org jessie/main amd64 Packages
404 Not Found
Err http://repo.ros2.org jessie/main arm64 Packages
404 Not Found
Ign http://repo.ros2.org jessie/main Translation-en_US
Ign http://repo.ros2.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_US
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_US
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:2 http://archive.raspbian.org jessie/contrib armhf Packages [43.3 kB]
Get:3 http://archive.raspbian.org jessie/non-free armhf Packages [84.2 kB]
Get:4 http://archive.raspbian.org jessie/rpi armhf Packages [1,356 B]
Ign http://archive.raspbian.org jessie/contrib Translation-en_US
Ign http://archive.raspbian.org jessie/contrib Translation-en
Ign http://archive.raspbian.org jessie/main Translation-en_US
Ign http://archive.raspbian.org jessie/main Translation-en
Ign http://archive.raspbian.org jessie/non-free Translation-en_US
Ign http://archive.raspbian.org jessie/non-free Translation-en
Ign http://archive.raspbian.org jessie/rpi Translation-en_US
Ign http://archive.raspbian.org jessie/rpi Translation-en
Fetched 9,666 kB in 37s (259 kB/s)
W: Failed to fetch
http://repo.ros2.org/ubuntu/main/dists/jessie/main/binary-amd64/Packages
404 Not Found
W: Failed to fetch
http://repo.ros2.org/ubuntu/main/dists/jessie/main/binary-arm64/Packages
404 Not Found
E: Some index files failed to download. They have been ignored, or old
ones used instead.
Can you give me a hint how to solve it?
Thanks!
I follow the instructions for setup sources that lead to here: https://github.com/ros2/ros2/wiki/Lin... . Now, when I tried execute "sudo apt update && sudo apt install curl" again, receive this message:
root@raspberrypi:/home/pi/Downloads/ros2-linux # sudo apt update && sudo apt install curl
Ign http://repo.ros2.org jessie InRelease
Get:1 http://archive.raspbian.org jessie InRelease [14.9 kB]
Ign http://repo.ros2.org jessie Release.gpg
Ign http://repo.ros2.org jessie Release
Get:2 http://archive.raspbian ...
note that building from source will be challenging as Jessie is quite older than our supported platforms so you will nee to compile packages such as Python and CMake from source. If you use Raspbian Stretch it should be more straight forward.
Regarding the apt repo: the ros2 apt repo has only xenial and bionic so it is expected that Jessie is not found. You can use packages.ros.org instead that has entries for debian Jessie and Stretch as well. See "Setup your sources.list" of this page http://wiki.ros.org/lunar/Installation
Finally I don't expect the method of using rosdep to install all the dependencies to work out of the box as we didnt provide rosdep rules for these platforms as they are not targeted