Software setup¶
Development environment¶
Install pixi package manager.
Install sandbox:
mkdir -p ~/sarcam/ws/src
cd ~/sarcam/ws/src
git clone https://gitlab.com/sar-eye/HorizonScanner/
cd HorizonScanner
git lfs install && git lfs pull # pull binary libs and training data
pixi run setup # clone external repository deps (gscam, nmea_navsat_driver)
Build the sandbox:
pixi run build # builds the sarcam codebase and its ROS2 parts
Next: How to develop if you just want to run the system as a developer.
Experimental features¶
Note
Only recommended if you really know what you do!
Deployment on ship¶
Note
Following steps are not needed as a generic developer!
Currently we run the development environment also on ships for usage for SAR.
The deployment assumes following things:
a user called
sarcamwith a home directory.repo cloned to
/home/sarcam/sarcam/ws/src/HorizonScanner
Note
A software package for easy install will follow later.
Desktop icon¶
Copy
src/sarcam_bringup/script/sarcam-main.shto/home/sarcam/sarcam/ws/sarcam-main.shand adjust for your deployment needs.
Tip
You can e.g. adjust the recording path to a external harddisk.
bash src/sarcam_bringup/services/install-services.sh
Copies sarcam-main.desktop to ~/Desktop. Click it to launch the sarcam-main.sh script in a terminal.
Window taskbar icons¶
Each GTK UI window (RGB cam, Thermal cam, Virtual Gamepad) gets a distinct taskbar icon with an emoji overlay (🌈 / 🔥 / 🕹️).
Run this once after a fresh clone, and again whenever the base icon (sarcam_ui/ui/images/icon.png) changes:
pixi run generate-icons
This installs composited PNGs into ~/.local/share/icons/hicolor/256x256/apps/ and matching .desktop files into ~/.local/share/applications/, then refreshes the GNOME icon cache.
The UI nodes load the icons from there at startup; if the files are missing they fall back to the system default and log a warning.
Next: How to develop.