The images are stored on the two Raspberry Pi Zeros. The Image download station provides image download via two parallel Wifi links from the drone. The image download station is based on two GL-AR750 access points. The datatransfer itself is handled by rsync via its rsync protocoll which doesnt rely on SSH. SSH is not used as the pi zero is not fast enough to encrypt the huge data we want to transfer for each flight.
WIFI password: adakfd4bm
This is the main router which provides DHCP service.
Router IP: 192.168.8.1
WAN Port is Lan Port
2.4 GHz SSID: SW-AP1 Channel 1 TX Power: 10 dBm 300 MBit
5 GHz SSID: SW-AP1-5G Channel 36 TX Power: 20 dbm
This router is connected with the WAN port to a LAN port of AP1.
Router IP: 192.168.8.2
WAN Port is Lan Port
2.4 GHz SSID: SW-AP2 Channel 11 TX Power: 10 dBm
5 GHz SSID: SW-AP2-5G Channel: 44 433MBit TX Power: 20 dbm
General setup for Hardware, OS, eduroam access, crrcsim e.t.c. is in the Laptop description.
Configure datastorage with rsync in /etc/rsyncd.conf
on ship laptop.
Each flight should have a unique named folder and needs two subfolders to be configured. e.g.
[ringo-05032020_0915h-cam-r] path=/home/USER/flightdata/ringo-05032020_0915h/cam-r hosts allow = * list = true uid = root gid = root read only = false [ringo-05032020_0915h-cam-l] path=/home/USER/flightdata/ringo-05032020_0915h/cam-l hosts allow = * list = true uid = root gid = root read only = false
IMPORTANT You have to name your folders cam-r
and cam-l
as this encoding is needed for the searchwing-gui to work in correct manner IMPORTANT
start rsync daemon on ship laptop
sudo systemctl start rsync
run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g.
rsync -auv --progress /data/bilder/ rsync://GROUNDSTATIONIP/ringo-05032020_0915h-cam-r
rsync error: error starting client-server protocol (code 5) at main.c(1675) [sender=3.1.3]
Check if folder on receiverside exists.
To get an idea whats the cause of the error - checkout rsync service status on receiverside (laptop):
sudo systemctl status rsync
To install and use the GUI please read the UPTODATE README in https://gitlab.com/searchwing/development/searchwing-gui or on the local repo on the laptop.
/backend/config.js
: datadir: '/absolute/path/to/data/dir
'/backend/config.js
: left: 'cam-l', right: 'cam-r
'/datadir/ringo-05032020_0915h
/datadir/ringo-05032020_0915h/cam-l
& /datadir/ringo-05032020_0915h/cam-r
* Run backend
bash cd backend npm install node index.js
* Run frontend
bash cd frontend npm install npm start
A tool to manage the pi cameras in multiple drones. It serves as a easy GUI for preflight system check. It uses SSH connections to gather the infos and visulizes it via a qt gui.
To install and it please read the UPTODATE README in https://gitlab.com/searchwing/development/searchwing-pi-manager or on the local repo on the laptop.