[[image-download-station]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
image-download-station [2020/03/03 10:41]
beckmanf moved laptop description
image-download-station [2020/03/06 01:55]
wf68spef
Line 3: Line 3:
 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 [[https://​www.gl-inet.com/​products/​gl-ar750/​|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. 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 [[https://​www.gl-inet.com/​products/​gl-ar750/​|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.
  
-==== Access points ====+===== Access points ​=====
  
 === AP1 === === AP1 ===
Line 40: Line 40:
 TX Power: 20 dbm  TX Power: 20 dbm 
  
-====  Laptop setup ====+=====  Laptop setup =====
  
 General setup for eduroam access, crrcsim e.t.c. is in the [[groundstation|Laptop description.]] General setup for eduroam access, crrcsim e.t.c. is in the [[groundstation|Laptop description.]]
  
-=== rsync ===+==== rsync ====
  
 Configure datastorage with rsync in ''/​etc/​rsyncd.conf''​ on ship laptop. Configure datastorage with rsync in ''/​etc/​rsyncd.conf''​ on ship laptop.
  
-Each flight should have a unique ​name and needs two folders ​to be configured. ​+Each flight should have a unique ​named folder ​and needs two subfolders ​to be configured. ​
 e.g. e.g.
  
 <​code>​ <​code>​
 [ringo-05032020_0915h-cam-r] [ringo-05032020_0915h-cam-r]
-path=/​home/​USER/​flightdata/​ringo-05032020_0915h-cam-r+path=/​home/​USER/​flightdata/​ringo-05032020_0915h/cam-r
 hosts allow = * hosts allow = *
 list = true list = true
Line 61: Line 61:
  
 [ringo-05032020_0915h-cam-l] [ringo-05032020_0915h-cam-l]
-path=/​home/​USER/​flightdata/​ringo-05032020_0915h-cam-l+path=/​home/​USER/​flightdata/​ringo-05032020_0915h/cam-l
 hosts allow = * hosts allow = *
 list = true list = true
Line 69: Line 69:
 </​code>​ </​code>​
  
-__**IMPORTANT** ​Please add cam-r or cam-l at the end, as this encoding is needed for the searchwing-gui to work in correct manner **IMPORTANT**__+__**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**__
  
  
Line 78: Line 78:
   ​   ​
  
-====  ​transfer images ​====+=== transfer images ===
  
 run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g. run datatransfer task on each pi ( later triggered via script @ groundcontrol pc): e.g.
Line 88: Line 88:
 If you like to transfer and delete the images from the pi, use the --remove-source-files option. If you like to transfer and delete the images from the pi, use the --remove-source-files option.
  
-====  ​troubleshooting ​====+=== troubleshooting ===
  
   rsync error: error starting client-server protocol (code 5) at main.c(1675) [sender=3.1.3]   rsync error: error starting client-server protocol (code 5) at main.c(1675) [sender=3.1.3]
Line 99: Line 99:
  
  
 +
 +==== searchwing-gui ====
 +
 +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.
 +
 +=== config ===
 +
 +  * Set your flight image data folder in ''/​backend/​config.js''​ : ''​datadir:​ '/​absolute/​path/​to/​data/​dir'''​
 +  * Set your camera left and right prefix folder names in ''/​backend/​config.js''​ : ''​left:​ '​cam-l',​ right: '​cam-r'''​
 +
 +=== Import Data ===
 +
 +  * For each flight create a folder with a reasonable name : e.g. ''/​datadir/​ringo-05032020_0915h''​
 +  * For each flight create subfolders for the data from each camera : e.g. ''/​datadir/​ringo-05032020_0915h/​cam-l''​ & ''/​datadir/​ringo-05032020_0915h/​cam-r''​
 +  * Copy / RSYNC your image data to these folders by using the procedure described in the section RSYNC
 +
 +=== visualize images ===
 +
 + * Run backend
 +
 +<​code>​
 +bash
 +cd backend
 +npm install
 +node index.js
 +</​code>​
 +
 + * Run frontend
 +
 +<​code>​
 +bash
 +cd frontend
 +npm install
 +npm start
 +</​code>​
 +
 +  * Go to http://​localhost:​3000
 +
 +==== searchwing-pi-manager ====
 +
 +
 +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.
  
  • image-download-station.txt
  • Last modified: 2021/08/06 12:20
  • by wf68spef