Raspberry and ROS
Line 10: | Line 10: | ||
rpi-imager | rpi-imager | ||
− | '''Select operating system''' Ubuntu | + | 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 | When finished mount the SD into the Raspberry | ||
Line 16: | Line 20: | ||
=== Start 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. | Connect to the network for updating and date/time. | ||
Line 24: | Line 32: | ||
user: local, password:(ask) | user: local, password:(ask) | ||
− | Stop the graphical user interface (to save memory) | + | Stop the graphical user interface (to save memory) if not installed as a server. |
systemctl set-default multy-user.target | systemctl set-default multy-user.target | ||
reboot | reboot | ||
− | |||
− | |||
− | |||
− | |||
=== SSH === | === SSH === | ||
Line 49: | Line 53: | ||
Follow the instructions in http://wiki.ros.org/noetic/Installation/Ubuntu | 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 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 === | === Clone the just installed image === | ||
Use SD card copier (on Raspberry??) | Use SD card copier (on Raspberry??) |
Revision as of 19:50, 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 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??)