Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| image-download-station [2020/03/03 10:41] – moved laptop description beckmanf | 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 setup ==== | + | ===== Laptop setup ===== |
| - | General setup for eduroam access, crrcsim e.t.c. is in the [[groundstation|Laptop description.]] | + | General setup for Hardware, OS, eduroam access, crrcsim e.t.c. is in the [[groundstation|Laptop description.]] |
| - | === rsync === | + | ==== 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 61: | Line 63: | ||
| [ringo-05032020_0915h-cam-l] | [ringo-05032020_0915h-cam-l] | ||
| - | path=/ | + | path=/ |
| hosts allow = * | hosts allow = * | ||
| list = true | list = true | ||
| Line 69: | Line 71: | ||
| </ | </ | ||
| - | __**IMPORTANT** | + | __**IMPORTANT** |
| Line 78: | 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 84: | 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 99: | Line 101: | ||
| + | |||
| + | ==== searchwing-gui ==== | ||
| + | |||
| + | To install and use the GUI please read the UPTODATE README in https:// | ||
| + | |||
| + | === 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 | ||
| + | |||
| + | < | ||
| + | bash | ||
| + | cd backend | ||
| + | npm install | ||
| + | node index.js | ||
| + | </ | ||
| + | |||
| + | * Run frontend | ||
| + | |||
| + | < | ||
| + | bash | ||
| + | cd frontend | ||
| + | npm install | ||
| + | npm start | ||
| + | </ | ||
| + | |||
| + | * Go to http:// | ||
| + | |||
| + | ==== 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:// | ||