Raspberry and ROS

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(Install ROS)
Line 57: Line 57:
  
 
The repository adds a file  /etc/apt/sources.list.d/ros-latest.list.
 
The repository adds a file  /etc/apt/sources.list.d/ros-latest.list.
Modify the line to be
+
Modify the line in the file to be
  
 
  deb [trusted=yes] http://packages.ros.org/ros/ubuntu jammy main
 
  deb [trusted=yes] http://packages.ros.org/ros/ubuntu jammy main
Line 68: Line 68:
  
 
  sudo apt install ros-desktop-full
 
  sudo apt install ros-desktop-full
 
 
  
 
=== Clone the just installed image ===
 
=== Clone the just installed image ===
  
 
Use SD card copier (on Raspberry??)
 
Use SD card copier (on Raspberry??)

Revision as of 19:51, 10 November 2022

Back to Robobot

Contents

Do not use for now

Install Raspberry

Use Raspberry pi imager (download from https://www.raspberrypi.com/software/)

rpi-imager

First configure settings: click the gear icon, and set: enable ssh, hostname, English language, Danisk keyboard, possibly SSID, time-zone, username (local) and password (remember to spell the password correctly).

then

Select operating system Ubuntu 22.04 64 bit server (for now) and storage, an empty SD-flash of at least 16GB, then write.

When finished mount the SD into the Raspberry

Start Raspberry

If everything is configured as above, then you just need to figure out the IP.

else

You need a screen and keyboard Connect to the network for updating and date/time.

Use the English language Give a username and password

user: local, password:(ask)

Stop the graphical user interface (to save memory) if not installed as a server.

systemctl set-default multy-user.target
reboot

SSH

Install openssh-server and sshfs

sudo apt install openssh-server sshfs

find your IP address using

sudo apt install net-tools
ifconfig

Install ROS

Will use Noetic (if it is ethical to do so).

Follow the instructions in http://wiki.ros.org/noetic/Installation/Ubuntu but it may fail with "The repository 'http://packages.ros.org/ros/ubuntu jammy Release' does not have a Release file."

The repository adds a file /etc/apt/sources.list.d/ros-latest.list. Modify the line in the file to be

deb [trusted=yes] http://packages.ros.org/ros/ubuntu jammy main

and then redo the

sudo apt update

Install ros-desktop-full-dev (or maybe just ros-desktop-full-dev)

sudo apt install ros-desktop-full

Clone the just installed image

Use SD card copier (on Raspberry??)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox