Raspberry and ROS
Back to Robobot
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, Danish 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 to get an IP and for updating and date/time.
find your IP address using
sudo apt install net-tools nmap ifconfig
or from another computer on the same local net (if your local net is 192.168.2.XX)
nmap -sP 192.168.2.0/24
SSH from another computer
If the Raspberry has an IP of 192.168.2.39, then:
ssh local@192.168.2.39
Putty or other tools could be used too.
Install tools
Install subversion and other tools
ntp # time setup ntpdate # time setup from DTU net libreadline-dev # command line memory libopencv-dev # openCV python3-pyqtgraph # fancy graphs in Python python3-scipy # scientific functions pyqt5-dev # QT designed GUI pyqt5-dev-tools # design QT GUI festival # text to sound sox # sound format read/write libsox-fmt-all # formats for SOX
sudo apt install ntp ntpdate libreadline-dev subversion libopencv-dev python3-pyqtgraph python3-scipy pyqt5-dev pyqt5-dev-tools festival sox libsox-fmt-all
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??)