Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
flash_prepare_pi_zero_image [2020/02/16 14:15] wf68spef created |
flash_prepare_pi_zero_image [2020/02/19 12:55] wf68spef |
||
---|---|---|---|
Line 1: | Line 1: | ||
Each camera in the plane is driven by a pi zero. There is a prepared image for this usecase, but some planespecific parameters need to be set for each image. | Each camera in the plane is driven by a pi zero. There is a prepared image for this usecase, but some planespecific parameters need to be set for each image. | ||
- | * Unordered List Item Download image from Gitlab: https://gitlab.com/searchwing/development/searchwing-pi-gen | + | * Download image from Gitlab: https://gitlab.com/searchwing/development/searchwing-pi-gen |
* Flash image to SD Card (e.g. using Etcher Tool) | * Flash image to SD Card (e.g. using Etcher Tool) | ||
* Set HostName to a unique name in ''/etc/hostname'' and in ''/etc/hosts'' : e.g. Freddy-cam-l | * Set HostName to a unique name in ''/etc/hostname'' and in ''/etc/hosts'' : e.g. Freddy-cam-l | ||
* Set Accesspoint depending on left / right camera in ''/etc/wpa_supplicant/wpa_supplicant.conf'' : | * Set Accesspoint depending on left / right camera in ''/etc/wpa_supplicant/wpa_supplicant.conf'' : | ||
+ | |||
+ | cam-r : AP1 | ||
+ | cam-l : AP2 | ||
+ | |||
<code> | <code> | ||
network={ | network={ | ||
Line 12: | Line 16: | ||
</code> | </code> | ||
* Insert image into plane and power up | * Insert image into plane and power up | ||
+ | * First bootup the filesystem of image (~2Gb) is enlarged to the SD-Card size (64Gb) | ||
+ | * Implemented by creating a ''/data'' partition where the image will be saved | ||
+ | * Takes ~3-5Minutes | ||
+ | * Afterwards filesystem resize the camera-capture & webserver service is started | ||
* You can access each camera via its hostname: ssh searchwing@Freddy-cam-l.local | * You can access each camera via its hostname: ssh searchwing@Freddy-cam-l.local | ||
- | * The recorded images can be checked via webbrowser: e.g. http:\\Freddy-cam-l.localĀ | + | * The recorded images can be checked via webserver in the webbrowser: e.g. http:\\Freddy-cam-l.localĀ |
- | * Preflightcheck can be done with the searchwing-pi-manager: | + | * Preflightcheck can be done with the searchwing-pi-manager on the laptop |