Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| image-download-station [2020/03/02 00:33] – created wf68spef | image-download-station [2021/08/06 12:20] (current) – 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:// | 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:// | ||
| - | ==== Access points ==== | + | ===== Access points ===== |
| + | |||
| + | WIFI password: adakfd4bm | ||
| === AP1 === | === AP1 === | ||
| Line 27: | Line 29: | ||
| This router is connected with the WAN port to a LAN port of AP1. | This router is connected with the WAN port to a LAN port of AP1. | ||
| - | Router IP: 192.168.8.200 | + | Router IP: 192.168.8.2 |
| WAN Port is Lan Port | WAN Port is Lan Port | ||
| Line 40: | Line 42: | ||
| TX Power: 20 dbm | TX Power: 20 dbm | ||
| - | ==== | + | ===== Laptop |
| - | The laptop | + | General setup for Hardware, OS, eduroam access, crrcsim e.t.c. |
| - | * AMD Ryzen 3550H CPU | + | ==== rsync ==== |
| - | * 8 GB DDR4-SDRAM | + | |
| - | * 512 GB SSD | + | |
| - | * 15.6" Full HD 1920x1080 IPS screen | + | |
| - | * AMD Radeon Vega 8 GPU | + | |
| - | * NVIDIA GeForce RTX 2060 (6GB GDDR6) GPU | + | |
| - | * LAN | + | |
| - | * Dual-band WLAN | + | |
| - | * Bluetooth | + | |
| - | + | ||
| - | running Ubuntu 18.04 LTS (Bionic Beaver) | + | |
| - | + | ||
| - | === rsync === | + | |
| Configure datastorage with rsync in ''/ | Configure datastorage with rsync in ''/ | ||
| - | Each flight should have a unique | + | Each flight should have a unique |
| e.g. | e.g. | ||
| < | < | ||
| [ringo-05032020_0915h-cam-r] | [ringo-05032020_0915h-cam-r] | ||
| - | path=/ | + | path=/ |
| hosts allow = * | hosts allow = * | ||
| list = true | list = true | ||
| Line 73: | Line 63: | ||
| [ringo-05032020_0915h-cam-l] | [ringo-05032020_0915h-cam-l] | ||
| - | path=/ | + | path=/ |
| hosts allow = * | hosts allow = * | ||
| list = true | list = true | ||
| Line 81: | Line 71: | ||
| </ | </ | ||
| - | __**IMPORTANT** | + | __**IMPORTANT** |
| Line 90: | Line 80: | ||
| | | ||
| - | ==== | + | === 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 96: | Line 86: | ||
| rsync -auv --progress / | rsync -auv --progress / | ||
| - | | + | |
| - | Don't use the -z option which compresses the data. The images are already compressed and the CPU load will result in 1 MB/s transfer rate compared to 3-4 MB/s without the -z option. (Beck, 23.2.20) | + | |
| - | If you like to transfer and delete the images from the pi, use the --remove-source-files option. | + | |
| - | ==== | + | === 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 111: | Line 101: | ||
| - | === eduroam === | ||
| - | Eduroam does not work with the default wpasupplicant 2.6 version. I have made a backport of wpasupplicant 2.9 from Ubuntu 19.10. | + | ==== searchwing-gui ==== |
| - | {{ :: | + | To install and use the GUI please read the UPTODATE README in https://gitlab.com/ |
| - | You need to install that package. Please download | + | === config === |
| + | |||
| + | * Set your flight image data folder in ''/ | ||
| + | * Set your camera left and right prefix folder names in ''/ | ||
| + | |||
| + | === Import Data === | ||
| + | |||
| + | * For each flight create a folder with a reasonable name : e.g. ''/ | ||
| + | * For each flight create subfolders for the data from each camera : e.g. ''/ | ||
| + | * Copy / RSYNC your image data to these folders by using the procedure described in the section RSYNC | ||
| + | |||
| + | === visualize images === | ||
| + | |||
| + | * Run backend | ||
| < | < | ||
| - | sudo apt install | + | bash |
| - | sudo dpkg -i wpasupplicant_2.9-1ubuntu2_amd64.deb | + | cd backend |
| + | npm install | ||
| + | node index.js | ||
| </ | </ | ||
| - | Check that the wpa supplicant service is running with | + | * Run frontend |
| < | < | ||
| - | sudo systemctl status wpa_supplicant.service | + | bash |
| + | cd frontend | ||
| + | npm install | ||
| + | npm start | ||
| </ | </ | ||
| - | In the Wifi Settings for eduroam choose | + | * Go to http:// |
| + | |||
| + | ==== searchwing-pi-manager ==== | ||
| + | |||
| + | |||
| + | A tool to manage | ||
| - | * Security: WPA & WPA2 Enterprise | + | To install and it please read the UPTODATE README in https://gitlab.com/ |
| - | * Authentication: | + | |
| - | * Anonymous identity: eduroam@hs-augsburg.de | + | |
| - | * Check "No CA certificate is required" | + | |
| - | * Inner Authentication: | + | |
| - | * Username: YOURUSERNAME@hs-augsburg.de | + | |
| - | * Password: YOURPASSWORD | + | |