Skip to content
Snippets Groups Projects
Commit 5866d239 authored by Charles JAVERLIAT's avatar Charles JAVERLIAT
Browse files

Add ROS repo to sources list

parent f7943b75
No related branches found
No related tags found
No related merge requests found
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
- [Disable ModemManager](#disable-modemmanager) - [Disable ModemManager](#disable-modemmanager)
- [Disable bluetooth](#disable-bluetooth) - [Disable bluetooth](#disable-bluetooth)
- [Install ROS Noetic](#install-ros-noetic) - [Install ROS Noetic](#install-ros-noetic)
- [Install from Debian repositories](#install-from-debian-repositories) - [Install from ROS repositories](#install-from-ros-repositories)
- [Build from sources](#build-from-sources) - [Build from sources](#build-from-sources)
- [Install ROS common_msgs](#install-ros-common_msgs) - [Install ROS common_msgs](#install-ros-common_msgs)
- [Install from Debian repositories](#install-from-debian-repositories) - [Install from ROS repositories](#install-from-ros-repositories)
- [Install from sources](#install-from-sources) - [Install from sources](#install-from-sources)
- [Install rosserial_python](#install-rosserial_python) - [Install rosserial_python](#install-rosserial_python)
- [Install from Debian repositories](#install-from-debian-repositories) - [Install from ROS repositories](#install-from-ros-repositories)
- [Build from sources](#build-from-sources) - [Build from sources](#build-from-sources)
- [Launch the roscore on boot](#launch-the-roscore-on-boot) - [Launch the roscore on boot](#launch-the-roscore-on-boot)
- [Network](#network) - [Network](#network)
...@@ -176,11 +176,15 @@ As a side effect, this will restore UART0/ttyAMA0 over GPIOs 14 (pin 8) & 15 (pi ...@@ -176,11 +176,15 @@ As a side effect, this will restore UART0/ttyAMA0 over GPIOs 14 (pin 8) & 15 (pi
The Raspberry Pi will be the host for the `roscore` which is used to manage the connections between the nodes. Thus, we need to install ROS on the Raspberry Pi. The Raspberry Pi will be the host for the `roscore` which is used to manage the connections between the nodes. Thus, we need to install ROS on the Raspberry Pi.
### Install from Debian repositories ### Install from ROS repositories
As of today (February 2021), there are no directly built package available for `ros-noetic-ros-base` for Debian 10 supporting armhf architecture. As of today (February 2021), there are no directly built package available for `ros-noetic-ros-base` for Debian 10 supporting armhf architecture.
However, if this tutorial becomes outdated when you read it, give it a try by executing: However, if this tutorial becomes outdated when you read it, give it a try by executing:
```sh ```sh
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu buster main" > /etc/apt/sources.list.d/ros-noetic.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-get update && sudo apt-get install -y ros-noetic-ros-base sudo apt-get update && sudo apt-get install -y ros-noetic-ros-base
``` ```
...@@ -240,11 +244,15 @@ source /opt/ros/noetic/setup.zsh ...@@ -240,11 +244,15 @@ source /opt/ros/noetic/setup.zsh
`common_msgs` contains a set of defaults messages that we may use during ROS development. Such as `sensor_msgs`, `diagnostic_msgs`, ... `common_msgs` contains a set of defaults messages that we may use during ROS development. Such as `sensor_msgs`, `diagnostic_msgs`, ...
### Install from Debian repositories ### Install from ROS repositories
As of today (February 2021), there are no directly built package available for `ros-noetic-common-msgs` for Debian 10 supporting armhf architecture. As of today (February 2021), there are no directly built package available for `ros-noetic-common-msgs` for Debian 10 supporting armhf architecture.
If you installed ROS Noetic from Debian repositories, then the package might already be installed. If not, run the following command: If you installed ROS Noetic from Debian repositories, then the package might already be installed. If not, run the following command:
```sh ```sh
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu buster main" > /etc/apt/sources.list.d/ros-noetic.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-get update && sudo apt-get install -y ros-noetic-common-msgs sudo apt-get update && sudo apt-get install -y ros-noetic-common-msgs
``` ```
...@@ -270,12 +278,16 @@ sudo rm -rf /tmp/ros_common_msgs_ws/ ...@@ -270,12 +278,16 @@ sudo rm -rf /tmp/ros_common_msgs_ws/
`rosserial_python` will be used as a connection between a `rosserial` node running on a microcontroller (arduino, stm, ...) and the ROS network. `rosserial_python` will be used as a connection between a `rosserial` node running on a microcontroller (arduino, stm, ...) and the ROS network.
### Install from Debian repositories ### Install from ROS repositories
As of today (February 2021), there are no directly built package available for `rosserial_python` for Debian 10 supporting armhf architecture. As of today (February 2021), there are no directly built package available for `rosserial_python` for Debian 10 supporting armhf architecture.
However, if this tutorial becomes outdated when you read it, give it a try by executing: However, if this tutorial becomes outdated when you read it, give it a try by executing:
```sh ```sh
sudo apt-get update && sudo apt-get install ros-noetic-rosserial-python sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu buster main" > /etc/apt/sources.list.d/ros-noetic.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-get update && sudo apt-get install -y ros-noetic-rosserial-python
``` ```
### Build from sources ### Build from sources
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment